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
- GeneralTransform3DTo2D.cs
- DrawingContextWalker.cs
- EditingMode.cs
- TrustLevelCollection.cs
- AudioBase.cs
- ComplexTypeEmitter.cs
- DataTableNewRowEvent.cs
- Empty.cs
- ValidatedControlConverter.cs
- QueryCursorEventArgs.cs
- RectAnimation.cs
- AdornerPresentationContext.cs
- JsonClassDataContract.cs
- FixedSOMTable.cs
- WorkerRequest.cs
- Menu.cs
- ParameterCollection.cs
- PermissionListSet.cs
- SelfIssuedSamlTokenFactory.cs
- ApplicationTrust.cs
- ContentFilePart.cs
- HebrewCalendar.cs
- FixedLineResult.cs
- BatchParser.cs
- Converter.cs
- XmlArrayAttribute.cs
- TextServicesCompartmentContext.cs
- BaseComponentEditor.cs
- ContentHostHelper.cs
- __Error.cs
- Scheduler.cs
- RSACryptoServiceProvider.cs
- FontInfo.cs
- listviewsubitemcollectioneditor.cs
- DesignerActionList.cs
- SafeReadContext.cs
- CommentAction.cs
- ClaimTypes.cs
- DataTrigger.cs
- MemoryRecordBuffer.cs
- ButtonBaseAutomationPeer.cs
- DynamicDataExtensions.cs
- MULTI_QI.cs
- propertyentry.cs
- Calendar.cs
- StringBuilder.cs
- VisualStateGroup.cs
- dtdvalidator.cs
- CodeNamespaceCollection.cs
- DbConnectionPoolIdentity.cs
- InputBinding.cs
- Sorting.cs
- KeyGestureConverter.cs
- UnsignedPublishLicense.cs
- KeysConverter.cs
- CompositeControl.cs
- ProfileBuildProvider.cs
- IOThreadScheduler.cs
- Nullable.cs
- DbProviderFactories.cs
- WebRequestModuleElement.cs
- TypeReference.cs
- EventProviderWriter.cs
- HMACSHA512.cs
- SoapHttpTransportImporter.cs
- SplineQuaternionKeyFrame.cs
- ShaperBuffers.cs
- ProtectedConfigurationSection.cs
- FunctionGenerator.cs
- DbParameterCollectionHelper.cs
- DiagnosticSection.cs
- CountAggregationOperator.cs
- RightsManagementLicense.cs
- CssClassPropertyAttribute.cs
- DbConnectionPoolGroup.cs
- ListDictionary.cs
- Types.cs
- SqlNodeTypeOperators.cs
- XmlSerializableReader.cs
- DataRecordInfo.cs
- SplitterCancelEvent.cs
- CodeAccessSecurityEngine.cs
- ErrorProvider.cs
- ComponentCache.cs
- ServiceObjectContainer.cs
- StandardCommandToolStripMenuItem.cs
- EnvelopedSignatureTransform.cs
- GenericPrincipal.cs
- RadioButton.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- DataGridViewCellStateChangedEventArgs.cs
- ItemsControlAutomationPeer.cs
- Int32Rect.cs
- ViewDesigner.cs
- FixedSOMPageElement.cs
- Enlistment.cs
- DetailsViewUpdateEventArgs.cs
- ContextMarshalException.cs
- LocatorBase.cs
- WebScriptMetadataMessage.cs