Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlSerializerNamespaces.cs
- PtsContext.cs
- DataGridCommandEventArgs.cs
- AttributeSetAction.cs
- ScrollPattern.cs
- SmiContext.cs
- ImmutableObjectAttribute.cs
- bindurihelper.cs
- Assembly.cs
- ConfigXmlComment.cs
- UInt16Storage.cs
- TimeSpanStorage.cs
- Hash.cs
- SHA256Managed.cs
- InsufficientMemoryException.cs
- StylusButton.cs
- SiteOfOriginContainer.cs
- TaiwanLunisolarCalendar.cs
- DataTrigger.cs
- ChannelParameterCollection.cs
- DataSourceView.cs
- Debug.cs
- FtpRequestCacheValidator.cs
- CultureNotFoundException.cs
- ConfigurationElementCollection.cs
- PackageController.cs
- WebFaultClientMessageInspector.cs
- InvalidateEvent.cs
- TaiwanCalendar.cs
- XmlCollation.cs
- RoleGroupCollection.cs
- Dispatcher.cs
- WorkflowDesigner.cs
- XmlNodeReader.cs
- CollectionViewGroupInternal.cs
- AnnouncementDispatcherAsyncResult.cs
- SocketPermission.cs
- SerializationAttributes.cs
- BooleanAnimationBase.cs
- RequiredAttributeAttribute.cs
- HebrewCalendar.cs
- CodeConstructor.cs
- WorkingDirectoryEditor.cs
- Console.cs
- DataRecordInternal.cs
- SlotInfo.cs
- TypedTableGenerator.cs
- TableParagraph.cs
- MatrixIndependentAnimationStorage.cs
- CacheRequest.cs
- RelatedCurrencyManager.cs
- ServiceDescriptionImporter.cs
- ConfigurationValue.cs
- SubstitutionDesigner.cs
- SystemIPv4InterfaceProperties.cs
- IteratorFilter.cs
- BaseConfigurationRecord.cs
- GCHandleCookieTable.cs
- SimpleWorkerRequest.cs
- CultureNotFoundException.cs
- PropertyDescriptorCollection.cs
- SoapSchemaExporter.cs
- HttpContextBase.cs
- Separator.cs
- Message.cs
- Line.cs
- DeclarativeExpressionConditionDeclaration.cs
- ObjectPersistData.cs
- ByteStreamMessageUtility.cs
- InstanceContextMode.cs
- PathFigure.cs
- StringAnimationUsingKeyFrames.cs
- GridViewItemAutomationPeer.cs
- FrameworkElement.cs
- PersistenceTypeAttribute.cs
- DbXmlEnabledProviderManifest.cs
- OracleConnection.cs
- CalendarData.cs
- ServicePointManagerElement.cs
- DataGridViewColumnHeaderCell.cs
- xmlsaver.cs
- UInt32Storage.cs
- SapiRecoContext.cs
- PageFunction.cs
- ViewBox.cs
- IdentityModelDictionary.cs
- SqlClientMetaDataCollectionNames.cs
- DataKey.cs
- TargetParameterCountException.cs
- TemplatePagerField.cs
- XPathQilFactory.cs
- XsltArgumentList.cs
- ConstantExpression.cs
- DataProviderNameConverter.cs
- PhysicalFontFamily.cs
- OdbcConnectionPoolProviderInfo.cs
- DataGridViewCheckBoxCell.cs
- TextParentUndoUnit.cs
- SchemaType.cs
- AutoCompleteStringCollection.cs