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
- ParallelEnumerable.cs
- AffineTransform3D.cs
- TickBar.cs
- ToolboxItemCollection.cs
- COSERVERINFO.cs
- EdmSchemaError.cs
- ProfileProvider.cs
- Duration.cs
- ImageField.cs
- Effect.cs
- SettingsPropertyValueCollection.cs
- AuthorizationRuleCollection.cs
- EventLog.cs
- RoleExceptions.cs
- OpenCollectionAsyncResult.cs
- XPathNodeHelper.cs
- GridItemPattern.cs
- Schema.cs
- NativeMethods.cs
- ReachFixedPageSerializer.cs
- InstanceDataCollectionCollection.cs
- MetadataArtifactLoaderCompositeFile.cs
- QueryInterceptorAttribute.cs
- basevalidator.cs
- DateTimeStorage.cs
- IdentityHolder.cs
- PerfCounterSection.cs
- WindowsGraphics2.cs
- SystemWebSectionGroup.cs
- Boolean.cs
- TreeNodeCollection.cs
- ValidationResults.cs
- AsyncOperation.cs
- DecoratedNameAttribute.cs
- DbModificationCommandTree.cs
- ConfigPathUtility.cs
- UrlMappingsSection.cs
- AsmxEndpointPickerExtension.cs
- wmiprovider.cs
- ServiceObjectContainer.cs
- PageParserFilter.cs
- UserPersonalizationStateInfo.cs
- LazyTextWriterCreator.cs
- DataSourceXmlClassAttribute.cs
- SourceFileInfo.cs
- ISessionStateStore.cs
- InvokeProviderWrapper.cs
- IQueryable.cs
- objectresult_tresulttype.cs
- DbParameterCollectionHelper.cs
- BitmapEffectOutputConnector.cs
- WebPartEditorOkVerb.cs
- Size3D.cs
- ObjectQuery_EntitySqlExtensions.cs
- RSAPKCS1KeyExchangeFormatter.cs
- LowerCaseStringConverter.cs
- lengthconverter.cs
- ThreadStaticAttribute.cs
- GenericTextProperties.cs
- SendMailErrorEventArgs.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SupportingTokenParameters.cs
- RouteItem.cs
- SqlXml.cs
- EpmContentDeSerializer.cs
- EntityProviderServices.cs
- RequestQueue.cs
- NameHandler.cs
- SimpleFieldTemplateUserControl.cs
- InternalBufferOverflowException.cs
- NameValueConfigurationCollection.cs
- ControlBuilder.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DisplayNameAttribute.cs
- RuntimeIdentifierPropertyAttribute.cs
- TextEditorParagraphs.cs
- MatrixTransform.cs
- TemplatedWizardStep.cs
- HtmlMeta.cs
- UrlMappingsModule.cs
- FullTextLine.cs
- TableHeaderCell.cs
- AppSettingsExpressionBuilder.cs
- GridProviderWrapper.cs
- TextAutomationPeer.cs
- XmlnsPrefixAttribute.cs
- SchemaElementDecl.cs
- CommandEventArgs.cs
- PublisherIdentityPermission.cs
- DataServiceStreamProviderWrapper.cs
- ReliabilityContractAttribute.cs
- PersistenceProviderFactory.cs
- AttachedProperty.cs
- HitTestParameters.cs
- ImageList.cs
- DataGridViewColumnStateChangedEventArgs.cs
- XmlDataLoader.cs
- WebServiceMethodData.cs
- CodeSpit.cs
- IncrementalReadDecoders.cs