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
- TabPage.cs
- WindowsFormsHostAutomationPeer.cs
- SpeakProgressEventArgs.cs
- EntityRecordInfo.cs
- ParameterBuilder.cs
- TransformFinalBlockRequest.cs
- SymmetricKey.cs
- WebColorConverter.cs
- PenLineJoinValidation.cs
- ConfigUtil.cs
- DataSourceProvider.cs
- _AutoWebProxyScriptHelper.cs
- WeakRefEnumerator.cs
- PartManifestEntry.cs
- ConditionCollection.cs
- WebPartHeaderCloseVerb.cs
- SymmetricAlgorithm.cs
- CacheEntry.cs
- RealizedColumnsBlock.cs
- PolygonHotSpot.cs
- TranslateTransform.cs
- SendMailErrorEventArgs.cs
- NameValueConfigurationCollection.cs
- ISessionStateStore.cs
- RegistryKey.cs
- ClickablePoint.cs
- DoWhileDesigner.xaml.cs
- RoleManagerSection.cs
- OneOfElement.cs
- AdornerHitTestResult.cs
- EmptyStringExpandableObjectConverter.cs
- IsolatedStorageException.cs
- TextWriterTraceListener.cs
- _ListenerAsyncResult.cs
- WebServiceAttribute.cs
- ConnectionConsumerAttribute.cs
- AssemblyBuilder.cs
- MatrixCamera.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- Calendar.cs
- FlowLayout.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SafeCancelMibChangeNotify.cs
- BaseParser.cs
- WindowProviderWrapper.cs
- XmlNode.cs
- SpeechEvent.cs
- ScrollData.cs
- TagPrefixInfo.cs
- Point3DAnimation.cs
- XmlEntityReference.cs
- FacetChecker.cs
- Clock.cs
- XsdSchemaFileEditor.cs
- InstancePersistenceException.cs
- HWStack.cs
- PrivilegedConfigurationManager.cs
- SignatureToken.cs
- ACL.cs
- BamlResourceContent.cs
- SystemNetworkInterface.cs
- DataGridColumnCollection.cs
- SQLSingleStorage.cs
- SchemaCollectionCompiler.cs
- DocumentViewerBaseAutomationPeer.cs
- XpsS0ValidatingLoader.cs
- SqlTypeConverter.cs
- Pick.cs
- DataFormats.cs
- ListCollectionView.cs
- TextShapeableCharacters.cs
- MultiBindingExpression.cs
- Rfc2898DeriveBytes.cs
- DescendantQuery.cs
- _ChunkParse.cs
- arabicshape.cs
- EventHandlerList.cs
- DbProviderServices.cs
- ProvidePropertyAttribute.cs
- QuaternionKeyFrameCollection.cs
- DataGridViewCellMouseEventArgs.cs
- XmlSerializationGeneratedCode.cs
- ProcessModule.cs
- SecuritySessionServerSettings.cs
- IconBitmapDecoder.cs
- UnsafeNativeMethods.cs
- FlowDocument.cs
- QuaternionAnimation.cs
- ParsedAttributeCollection.cs
- ProfileSettings.cs
- WorkflowInstance.cs
- WorkflowRuntimeServiceElementCollection.cs
- Soap12ServerProtocol.cs
- ContextStack.cs
- IndexedSelectQueryOperator.cs
- ToolStripProgressBar.cs
- RewritingValidator.cs
- SchemaCollectionCompiler.cs
- DefaultPrintController.cs
- ItemsPanelTemplate.cs