Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } } } }/// The argument for the attribute. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HostSecurityManager.cs
- InternalPolicyElement.cs
- ValidatingReaderNodeData.cs
- TextElementEnumerator.cs
- StylusPointProperty.cs
- PropertyMap.cs
- WebEventTraceProvider.cs
- HttpCachePolicyElement.cs
- Panel.cs
- RelationalExpressions.cs
- AttributeCollection.cs
- PaperSource.cs
- RawStylusInputReport.cs
- ArgumentException.cs
- RSAOAEPKeyExchangeFormatter.cs
- StateChangeEvent.cs
- HttpProfileBase.cs
- StandardToolWindows.cs
- ChtmlLinkAdapter.cs
- DataSourceXmlTextReader.cs
- SoapSchemaImporter.cs
- ObjectQueryState.cs
- LiteralControl.cs
- BrowserDefinition.cs
- InternalConfigSettingsFactory.cs
- SRGSCompiler.cs
- wgx_render.cs
- BatchServiceHost.cs
- Int32Storage.cs
- ObjectDataSourceStatusEventArgs.cs
- CompilationRelaxations.cs
- XmlSchemaComplexContentExtension.cs
- CodeGenerator.cs
- QueryReaderSettings.cs
- LayoutEngine.cs
- ByteStream.cs
- RecognitionEventArgs.cs
- NamedPipeConnectionPoolSettingsElement.cs
- XsltContext.cs
- Ref.cs
- ChangesetResponse.cs
- RuntimeEnvironment.cs
- LinqDataSourceUpdateEventArgs.cs
- ScopedKnownTypes.cs
- WebPartTransformerAttribute.cs
- SqlCommandBuilder.cs
- DPTypeDescriptorContext.cs
- MailMessage.cs
- ExcCanonicalXml.cs
- GregorianCalendar.cs
- ListenerHandler.cs
- RemotingAttributes.cs
- unsafeIndexingFilterStream.cs
- xmlfixedPageInfo.cs
- SkinBuilder.cs
- QilDataSource.cs
- NativeActivityContext.cs
- ControlCollection.cs
- QilXmlReader.cs
- DataGridViewImageCell.cs
- HttpWriter.cs
- AstTree.cs
- StorageSetMapping.cs
- ArgumentNullException.cs
- TreeNodeConverter.cs
- SafeCryptHandles.cs
- SecurityRuntime.cs
- MasterPageParser.cs
- ThemeDictionaryExtension.cs
- UshortList2.cs
- MethodCallConverter.cs
- XmlAutoDetectWriter.cs
- XmlCharType.cs
- RequestedSignatureDialog.cs
- Window.cs
- _HeaderInfoTable.cs
- StringResourceManager.cs
- WebPartActionVerb.cs
- SystemIcmpV4Statistics.cs
- Geometry.cs
- PropertyGridCommands.cs
- ReferenceTypeElement.cs
- MsmqProcessProtocolHandler.cs
- TreeWalkHelper.cs
- MenuItem.cs
- SystemInfo.cs
- RandomNumberGenerator.cs
- SqlDataSourceDesigner.cs
- TextRangeProviderWrapper.cs
- SuppressMergeCheckAttribute.cs
- SByteStorage.cs
- XslAstAnalyzer.cs
- ImportDesigner.xaml.cs
- CustomAttributeSerializer.cs
- InheritanceUI.cs
- ItemsPresenter.cs
- DataGridViewCheckBoxColumn.cs
- DataViewSettingCollection.cs
- PrintPageEvent.cs
- InternalControlCollection.cs