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
- DBBindings.cs
- TextBox.cs
- ObjectContextServiceProvider.cs
- Accessors.cs
- DocComment.cs
- IdleTimeoutMonitor.cs
- CompiledRegexRunnerFactory.cs
- PixelFormatConverter.cs
- DoubleLink.cs
- CommandField.cs
- Lease.cs
- DesignerActionPanel.cs
- DataGridViewMethods.cs
- SecurityException.cs
- DataBoundControl.cs
- EntityDesignerDataSourceView.cs
- LocatorManager.cs
- XmlChildEnumerator.cs
- Activity.cs
- CacheSection.cs
- DataGridViewColumnCollectionEditor.cs
- EntityCommandDefinition.cs
- Vector3DAnimationBase.cs
- CommandConverter.cs
- ScriptComponentDescriptor.cs
- RegexCode.cs
- MatrixAnimationUsingPath.cs
- FrameworkContentElement.cs
- Mouse.cs
- HTMLTextWriter.cs
- ImageSource.cs
- httpserverutility.cs
- rsa.cs
- ComponentEditorForm.cs
- ScrollChangedEventArgs.cs
- ToolStrip.cs
- WebPartEditorOkVerb.cs
- CompleteWizardStep.cs
- XmlSchemaSimpleContentRestriction.cs
- AbsoluteQuery.cs
- DataObjectFieldAttribute.cs
- SqlXml.cs
- EventHandlersDesigner.cs
- KeyedQueue.cs
- ConstraintStruct.cs
- DataGridItemCollection.cs
- FtpRequestCacheValidator.cs
- AuthenticationService.cs
- KeyFrames.cs
- FileLevelControlBuilderAttribute.cs
- indexingfiltermarshaler.cs
- MethodCallConverter.cs
- PtsHost.cs
- Types.cs
- XmlAttributeHolder.cs
- StringValidator.cs
- SqlXmlStorage.cs
- SqlClientFactory.cs
- SiteMapNodeItemEventArgs.cs
- InputScope.cs
- CLSCompliantAttribute.cs
- DynamicActionMessageFilter.cs
- X509UI.cs
- PathGeometry.cs
- ModelVisual3D.cs
- PauseStoryboard.cs
- _NTAuthentication.cs
- UInt64.cs
- ServiceAuthorizationBehavior.cs
- OdbcError.cs
- CharAnimationUsingKeyFrames.cs
- ProfileSection.cs
- WebPartCollection.cs
- ListBase.cs
- BrowserTree.cs
- PreApplicationStartMethodAttribute.cs
- DesignerTransactionCloseEvent.cs
- AttachedAnnotation.cs
- ReadOnlyDataSource.cs
- documentsequencetextpointer.cs
- LexicalChunk.cs
- ResolveDuplexCD1AsyncResult.cs
- ContainsRowNumberChecker.cs
- Monitor.cs
- Int32CollectionConverter.cs
- SendMailErrorEventArgs.cs
- TextParentUndoUnit.cs
- RadioButtonList.cs
- unsafenativemethodstextservices.cs
- SemaphoreFullException.cs
- EventDescriptor.cs
- DiffuseMaterial.cs
- XmlDataSourceView.cs
- PopupRoot.cs
- ConcurrentDictionary.cs
- TabletDeviceInfo.cs
- ServiceDebugBehavior.cs
- Lock.cs
- FormatSettings.cs
- D3DImage.cs