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
- Literal.cs
- ExtensionWindow.cs
- ReadOnlyCollectionBuilder.cs
- ResourceAssociationType.cs
- ITextView.cs
- RichTextBoxContextMenu.cs
- FilterQueryOptionExpression.cs
- WeakReferenceKey.cs
- DataGridViewCellCollection.cs
- ComContractElementCollection.cs
- EventPropertyMap.cs
- ReferentialConstraint.cs
- BuildProviderCollection.cs
- SoapClientProtocol.cs
- CodeObjectCreateExpression.cs
- ParseHttpDate.cs
- ToolStripOverflowButton.cs
- XPathCompileException.cs
- CallContext.cs
- NamespaceList.cs
- FilteredDataSetHelper.cs
- _FixedSizeReader.cs
- PnrpPermission.cs
- Event.cs
- DefaultValueConverter.cs
- XmlSchemaAnnotation.cs
- UnsafeNativeMethods.cs
- WebPartCatalogCloseVerb.cs
- Util.cs
- SecurityPolicySection.cs
- SafeBitVector32.cs
- SplineQuaternionKeyFrame.cs
- GlyphCache.cs
- GraphicsPath.cs
- Zone.cs
- VisualStyleElement.cs
- ParallelTimeline.cs
- TemplateBindingExpressionConverter.cs
- DesignerActionKeyboardBehavior.cs
- ClientOptions.cs
- LayoutTableCell.cs
- RootBuilder.cs
- Base64Decoder.cs
- ComplexPropertyEntry.cs
- AuthenticatedStream.cs
- WebRequestModuleElementCollection.cs
- WebPartDeleteVerb.cs
- PageCodeDomTreeGenerator.cs
- ResourceProviderFactory.cs
- DrawingContextDrawingContextWalker.cs
- ClientBuildManagerCallback.cs
- COM2Enum.cs
- ParentQuery.cs
- ReachPageContentSerializer.cs
- Model3D.cs
- SqlCacheDependencyDatabaseCollection.cs
- linebase.cs
- X509Certificate.cs
- ButtonBase.cs
- BaseParagraph.cs
- WebPartMinimizeVerb.cs
- MsmqMessageProperty.cs
- Globals.cs
- NonBatchDirectoryCompiler.cs
- GradientBrush.cs
- PageAsyncTaskManager.cs
- ProxyWebPart.cs
- SectionRecord.cs
- BmpBitmapEncoder.cs
- DataGridViewColumnEventArgs.cs
- ViewSimplifier.cs
- DeclarativeConditionsCollection.cs
- XPathMultyIterator.cs
- HtmlToClrEventProxy.cs
- TypeContext.cs
- ConfigPathUtility.cs
- TrustSection.cs
- DataGridViewCellStateChangedEventArgs.cs
- AuthenticationManager.cs
- HandleCollector.cs
- UniqueIdentifierService.cs
- TrackingConditionCollection.cs
- LocalServiceSecuritySettings.cs
- nulltextnavigator.cs
- GridViewRowPresenterBase.cs
- GeneralTransform2DTo3D.cs
- EnumValidator.cs
- XmlSchemaAttribute.cs
- TempFiles.cs
- Keywords.cs
- CollaborationHelperFunctions.cs
- PingOptions.cs
- UIAgentMonitorHandle.cs
- FormatException.cs
- EmptyStringExpandableObjectConverter.cs
- SchemaImporterExtension.cs
- HttpContextBase.cs
- DataControlCommands.cs
- ObjectDataSourceDisposingEventArgs.cs
- MD5CryptoServiceProvider.cs