Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1305376 / CodeAttributeArgument.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- sqlinternaltransaction.cs
- XD.cs
- DataGridViewRowConverter.cs
- FontUnit.cs
- AnimationStorage.cs
- TextAnchor.cs
- PasswordTextNavigator.cs
- FormattedTextSymbols.cs
- Configuration.cs
- TextServicesCompartmentContext.cs
- DrawingServices.cs
- AssociationProvider.cs
- HtmlTableCellCollection.cs
- LicenseManager.cs
- CipherData.cs
- AspCompat.cs
- PenThreadWorker.cs
- TextMarkerSource.cs
- SafeTimerHandle.cs
- ProxyWebPartConnectionCollection.cs
- PropertyPushdownHelper.cs
- DeviceContext2.cs
- SecurityIdentifierConverter.cs
- LiteralTextContainerControlBuilder.cs
- XmlSchemaCollection.cs
- XmlBinaryWriterSession.cs
- SqlFlattener.cs
- FileInfo.cs
- SecurityRuntime.cs
- XamlPathDataSerializer.cs
- validationstate.cs
- PlainXmlSerializer.cs
- AssemblyFilter.cs
- ProgressBarBrushConverter.cs
- MultiplexingFormatMapping.cs
- XmlWriterSettings.cs
- StoryFragments.cs
- EncryptedData.cs
- ProcessHostMapPath.cs
- QilValidationVisitor.cs
- AttachmentCollection.cs
- SqlPersonalizationProvider.cs
- SatelliteContractVersionAttribute.cs
- DoubleAnimationUsingKeyFrames.cs
- WindowsComboBox.cs
- ButtonField.cs
- ViewBox.cs
- DataBinding.cs
- PropertyInfoSet.cs
- connectionpool.cs
- EtwTrace.cs
- HandlerWithFactory.cs
- DetailsViewInsertedEventArgs.cs
- SchemaNamespaceManager.cs
- QuadraticEase.cs
- TickBar.cs
- CreateUserErrorEventArgs.cs
- UserMapPath.cs
- VisualTreeUtils.cs
- CustomSignedXml.cs
- UserPersonalizationStateInfo.cs
- BuildProviderAppliesToAttribute.cs
- oledbmetadatacollectionnames.cs
- SQLDateTime.cs
- XmlCodeExporter.cs
- ZipIOLocalFileBlock.cs
- DataControlReferenceCollection.cs
- Types.cs
- StrongName.cs
- ResXFileRef.cs
- Adorner.cs
- DialogResultConverter.cs
- ConnectionProviderAttribute.cs
- Number.cs
- StatusBar.cs
- EventProviderBase.cs
- XamlDesignerSerializationManager.cs
- VectorAnimation.cs
- NetworkStream.cs
- TrustLevelCollection.cs
- DbUpdateCommandTree.cs
- glyphs.cs
- EncoderExceptionFallback.cs
- ExtenderProvidedPropertyAttribute.cs
- TextUtf8RawTextWriter.cs
- NameNode.cs
- DataKey.cs
- ControlBuilderAttribute.cs
- DuplicateWaitObjectException.cs
- FormsAuthenticationTicket.cs
- OutputScopeManager.cs
- MissingManifestResourceException.cs
- KeyBinding.cs
- RankException.cs
- Cursor.cs
- NavigateEvent.cs
- PriorityQueue.cs
- OutputCacheSection.cs
- XamlBuildTaskServices.cs
- AssertHelper.cs