Code:
/ FX-1434 / FX-1434 / 1.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
- RegexCaptureCollection.cs
- TabRenderer.cs
- LayoutUtils.cs
- SocketAddress.cs
- TextTreeRootTextBlock.cs
- DelegatingChannelListener.cs
- Root.cs
- ValidatingReaderNodeData.cs
- FileDialog.cs
- ALinqExpressionVisitor.cs
- SoapFormatExtensions.cs
- Pen.cs
- invalidudtexception.cs
- RecognizerInfo.cs
- AlphabeticalEnumConverter.cs
- WinEventHandler.cs
- NamespaceMapping.cs
- GestureRecognizer.cs
- SettingsBase.cs
- InvokerUtil.cs
- DesignerRegionMouseEventArgs.cs
- StringAnimationUsingKeyFrames.cs
- Int64AnimationUsingKeyFrames.cs
- SqlDataSourceCache.cs
- SimpleBitVector32.cs
- ComplusTypeValidator.cs
- UpdateException.cs
- SemanticBasicElement.cs
- PolygonHotSpot.cs
- ScriptDescriptor.cs
- BufferedGraphicsManager.cs
- DataQuery.cs
- SoapParser.cs
- ContourSegment.cs
- Vector3DConverter.cs
- Separator.cs
- PKCS1MaskGenerationMethod.cs
- XmlNamedNodeMap.cs
- UIElementParagraph.cs
- ProxyGenerator.cs
- PlainXmlDeserializer.cs
- CompositeCollection.cs
- HttpContext.cs
- FormViewCommandEventArgs.cs
- TimeSpanValidator.cs
- NameValueCollection.cs
- ScrollItemPattern.cs
- StylusOverProperty.cs
- EmptyEnumerable.cs
- TemplateControl.cs
- SynthesizerStateChangedEventArgs.cs
- ZipIOExtraFieldPaddingElement.cs
- RealizationDrawingContextWalker.cs
- ListQueryResults.cs
- DbProviderFactories.cs
- SettingsPropertyCollection.cs
- BasicViewGenerator.cs
- XmlCountingReader.cs
- WebException.cs
- GPStream.cs
- TextTreeTextBlock.cs
- CompositeCollectionView.cs
- ToolStripContentPanelRenderEventArgs.cs
- FeatureManager.cs
- ResourceType.cs
- FrameworkReadOnlyPropertyMetadata.cs
- BehaviorEditorPart.cs
- PageThemeCodeDomTreeGenerator.cs
- BaseTreeIterator.cs
- parserscommon.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DebuggerService.cs
- KernelTypeValidation.cs
- XmlSchemaFacet.cs
- ObjectItemCollection.cs
- Events.cs
- SchemaImporter.cs
- DataControlCommands.cs
- SqlMethodTransformer.cs
- DataGridSortCommandEventArgs.cs
- SystemPens.cs
- FormClosedEvent.cs
- BinHexEncoding.cs
- RsaSecurityKey.cs
- SecurityElement.cs
- FactoryGenerator.cs
- EventTrigger.cs
- TableLayoutCellPaintEventArgs.cs
- HashLookup.cs
- DesignerContextDescriptor.cs
- XmlSchemas.cs
- SmiXetterAccessMap.cs
- BitConverter.cs
- LinkLabel.cs
- ThreadInterruptedException.cs
- Padding.cs
- CodeArgumentReferenceExpression.cs
- AutomationPropertyInfo.cs
- RepeaterItemCollection.cs
- NavigationPropertyEmitter.cs