Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1 / CodeAttributeArgument.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeAttributeArgument { private string name; private CodeExpression value; ////// Represents an argument for use in a custom attribute declaration. /// ////// public CodeAttributeArgument() { } ////// Initializes a new instance of ///. /// /// public CodeAttributeArgument(CodeExpression value) { Value = value; } ////// Initializes a new instance of ///using the specified value. /// /// public CodeAttributeArgument(string name, CodeExpression value) { Name = name; Value = value; } ////// Initializes a new instance of ///using the specified name and /// value. /// /// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// The name of the attribute. /// ////// public CodeExpression Value { get { return value; } set { this.value = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// The argument for the attribute. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ////// [ ClassInterface(ClassInterfaceType.AutoDispatch), ComVisible(true), Serializable, ] public class CodeAttributeArgument { private string name; private CodeExpression value; ////// Represents an argument for use in a custom attribute declaration. /// ////// public CodeAttributeArgument() { } ////// Initializes a new instance of ///. /// /// public CodeAttributeArgument(CodeExpression value) { Value = value; } ////// Initializes a new instance of ///using the specified value. /// /// public CodeAttributeArgument(string name, CodeExpression value) { Name = name; Value = value; } ////// Initializes a new instance of ///using the specified name and /// value. /// /// public string Name { get { return (name == null) ? string.Empty : name; } set { name = value; } } ////// The name of the attribute. /// ////// public CodeExpression Value { get { return value; } set { this.value = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// The argument for the attribute. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Point4DConverter.cs
- OneOfTypeConst.cs
- CriticalFinalizerObject.cs
- WinEventHandler.cs
- LayoutInformation.cs
- DispatchChannelSink.cs
- SqlFunctions.cs
- CapabilitiesPattern.cs
- OracleDataAdapter.cs
- CodeExporter.cs
- HandlerFactoryWrapper.cs
- HttpEncoderUtility.cs
- LineUtil.cs
- PermissionRequestEvidence.cs
- CornerRadiusConverter.cs
- UserValidatedEventArgs.cs
- DoubleAnimationUsingPath.cs
- DisableDpiAwarenessAttribute.cs
- AxisAngleRotation3D.cs
- DataServiceException.cs
- TransformValueSerializer.cs
- CleanUpVirtualizedItemEventArgs.cs
- HighlightComponent.cs
- ScriptResourceHandler.cs
- FontInfo.cs
- AuthorizationRule.cs
- EventBookmark.cs
- SQlBooleanStorage.cs
- WindowsEditBox.cs
- DbMetaDataFactory.cs
- BuildProvider.cs
- List.cs
- RenderDataDrawingContext.cs
- _NetRes.cs
- XmlDomTextWriter.cs
- BaseValidator.cs
- VariableDesigner.xaml.cs
- BufferedStream2.cs
- RootBrowserWindow.cs
- NonClientArea.cs
- hebrewshape.cs
- TimeoutValidationAttribute.cs
- ShapeTypeface.cs
- DoubleLinkListEnumerator.cs
- MaterialGroup.cs
- WeakReferenceList.cs
- KnownBoxes.cs
- TreeViewImageIndexConverter.cs
- MatrixTransform.cs
- UiaCoreApi.cs
- StringComparer.cs
- AssertSection.cs
- ContextStaticAttribute.cs
- MethodAccessException.cs
- SystemUnicastIPAddressInformation.cs
- EntityContainer.cs
- SQLInt32.cs
- DataControlFieldHeaderCell.cs
- EastAsianLunisolarCalendar.cs
- FacetEnabledSchemaElement.cs
- CodeComment.cs
- SEHException.cs
- SimpleType.cs
- DataGridParentRows.cs
- DbDataSourceEnumerator.cs
- XmlEncoding.cs
- DependencyPropertyChangedEventArgs.cs
- TempFiles.cs
- _HelperAsyncResults.cs
- CFGGrammar.cs
- MediaElementAutomationPeer.cs
- EntityContainerRelationshipSet.cs
- SystemInfo.cs
- XmlAtomicValue.cs
- ScriptingWebServicesSectionGroup.cs
- AuthenticationModuleElement.cs
- SortDescriptionCollection.cs
- SourceFileBuildProvider.cs
- DesignerActionService.cs
- Expander.cs
- PerformanceCounterCategory.cs
- ClientCultureInfo.cs
- UnsafeNativeMethodsCLR.cs
- CharacterMetrics.cs
- Int32RectConverter.cs
- CollectionView.cs
- UpdateTranslator.cs
- SerializationFieldInfo.cs
- CqlQuery.cs
- DataGridViewButtonColumn.cs
- Stroke.cs
- ListViewItemSelectionChangedEvent.cs
- DuplexChannelFactory.cs
- DataGridViewRowCollection.cs
- FileChangesMonitor.cs
- Location.cs
- TextBoxLine.cs
- GlyphInfoList.cs
- AnimatedTypeHelpers.cs
- TabControl.cs