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
- ListenerServiceInstallComponent.cs
- PropertySet.cs
- OdbcConnection.cs
- DataGridViewCellContextMenuStripNeededEventArgs.cs
- SystemIcmpV6Statistics.cs
- SingleResultAttribute.cs
- InputDevice.cs
- SqlError.cs
- TabletDevice.cs
- ImageCodecInfoPrivate.cs
- UnmanagedMemoryStreamWrapper.cs
- DetailsViewUpdateEventArgs.cs
- BehaviorEditorPart.cs
- TimeZone.cs
- CompilerInfo.cs
- AppDomainUnloadedException.cs
- Pkcs7Recipient.cs
- EdmConstants.cs
- StdRegProviderWrapper.cs
- Blend.cs
- ThreadExceptionDialog.cs
- Path.cs
- DictionaryBase.cs
- DeferredBinaryDeserializerExtension.cs
- EncoderExceptionFallback.cs
- TemporaryBitmapFile.cs
- Token.cs
- StrongNameKeyPair.cs
- ExcludeFromCodeCoverageAttribute.cs
- ControlUtil.cs
- Vector.cs
- Directory.cs
- XsdBuilder.cs
- UpdateCompiler.cs
- TextElementEditingBehaviorAttribute.cs
- XmlEventCache.cs
- MemberNameValidator.cs
- HtmlInputCheckBox.cs
- EntityDataSourceDesigner.cs
- DebugInfoGenerator.cs
- XmlReader.cs
- WebPartCloseVerb.cs
- MonitoringDescriptionAttribute.cs
- EventTrigger.cs
- HwndHostAutomationPeer.cs
- InputLangChangeRequestEvent.cs
- ObjectAnimationUsingKeyFrames.cs
- CqlIdentifiers.cs
- SQLDouble.cs
- ExpressionLexer.cs
- ResourceReferenceExpression.cs
- IList.cs
- ProtectedConfigurationProviderCollection.cs
- WmlTextViewAdapter.cs
- MexHttpBindingElement.cs
- AsnEncodedData.cs
- SurrogateEncoder.cs
- CompilerError.cs
- XmlnsCache.cs
- ToolBarPanel.cs
- WebMessageEncodingBindingElement.cs
- unitconverter.cs
- ExtendedPropertyCollection.cs
- Int32EqualityComparer.cs
- PropertyReferenceSerializer.cs
- XPathDocumentNavigator.cs
- StorageInfo.cs
- HttpPostServerProtocol.cs
- ConnectionInterfaceCollection.cs
- DataGridViewCellEventArgs.cs
- PropertyChangeTracker.cs
- ClientConfigPaths.cs
- DataSourceControl.cs
- GZipDecoder.cs
- XmlSerializationWriter.cs
- DataGridViewCellPaintingEventArgs.cs
- shaperfactoryquerycachekey.cs
- ObjectViewListener.cs
- BrowserCapabilitiesFactory.cs
- FlowLayout.cs
- InternalControlCollection.cs
- UIAgentAsyncBeginRequest.cs
- TreeViewHitTestInfo.cs
- TrackingProfileDeserializationException.cs
- _NegoState.cs
- PhoneCall.cs
- TrackBarRenderer.cs
- EncryptedKeyHashIdentifierClause.cs
- ProfilePropertySettings.cs
- TimeSpanSecondsConverter.cs
- IDictionary.cs
- VirtualPathUtility.cs
- XmlNode.cs
- AuthorizationSection.cs
- Expression.cs
- AppDomainProtocolHandler.cs
- AsymmetricAlgorithm.cs
- CompilerCollection.cs
- QueryableDataSourceHelper.cs
- __Error.cs