Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- formatter.cs
- SliderAutomationPeer.cs
- LabelEditEvent.cs
- WebPartEditVerb.cs
- AlternateViewCollection.cs
- ASCIIEncoding.cs
- DataControlButton.cs
- LoadedOrUnloadedOperation.cs
- SqlConnection.cs
- QueryProcessor.cs
- DataContractAttribute.cs
- File.cs
- EvidenceTypeDescriptor.cs
- XPathEmptyIterator.cs
- TextFindEngine.cs
- RuntimeConfigurationRecord.cs
- XmlNodeList.cs
- Crypto.cs
- SqlInternalConnectionSmi.cs
- XPathNodeIterator.cs
- SafeNativeMethods.cs
- FixedElement.cs
- IBuiltInEvidence.cs
- HandleDictionary.cs
- SystemWebSectionGroup.cs
- InputProviderSite.cs
- SignalGate.cs
- EntityType.cs
- WebPartChrome.cs
- DataColumn.cs
- HttpFileCollection.cs
- RequiredAttributeAttribute.cs
- ConnectorSelectionGlyph.cs
- SplayTreeNode.cs
- TriggerBase.cs
- ProfilePropertySettings.cs
- CheckPair.cs
- LinkClickEvent.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SecureStringHasher.cs
- DiscreteKeyFrames.cs
- FillErrorEventArgs.cs
- TextRangeEditTables.cs
- PointLightBase.cs
- TraceLevelStore.cs
- DefaultPrintController.cs
- WinEventQueueItem.cs
- ColorConvertedBitmap.cs
- XPathSingletonIterator.cs
- ArgumentOutOfRangeException.cs
- IPEndPointCollection.cs
- SoapReflectionImporter.cs
- EditorBrowsableAttribute.cs
- WasAdminWrapper.cs
- ResXResourceSet.cs
- FactoryGenerator.cs
- ErrorStyle.cs
- storepermission.cs
- PolicyManager.cs
- Win32.cs
- ImageSourceConverter.cs
- ScaleTransform.cs
- GZipDecoder.cs
- ACL.cs
- SelectionWordBreaker.cs
- XmlnsCompatibleWithAttribute.cs
- WebPartZone.cs
- Utils.cs
- LookupBindingPropertiesAttribute.cs
- WebBrowserContainer.cs
- Constant.cs
- Selector.cs
- TemplateNameScope.cs
- RadialGradientBrush.cs
- ToolStripMenuItem.cs
- HttpRuntimeSection.cs
- UnauthorizedWebPart.cs
- DocumentPageViewAutomationPeer.cs
- Double.cs
- CodeSnippetStatement.cs
- ComNativeDescriptor.cs
- XPathDocumentBuilder.cs
- Debugger.cs
- TakeQueryOptionExpression.cs
- WebPart.cs
- Emitter.cs
- PathSegmentCollection.cs
- messageonlyhwndwrapper.cs
- IISUnsafeMethods.cs
- TableLayoutRowStyleCollection.cs
- MetadataAssemblyHelper.cs
- RegisteredArrayDeclaration.cs
- TitleStyle.cs
- TypeCodeDomSerializer.cs
- LostFocusEventManager.cs
- IPipelineRuntime.cs
- ListBoxItem.cs
- EventListener.cs
- RoleManagerSection.cs
- WmfPlaceableFileHeader.cs