Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1305376 / CodeAttributeArgument.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- MediaPlayer.cs
- TrackingProfileDeserializationException.cs
- DBSchemaTable.cs
- DataServiceKeyAttribute.cs
- VirtualPathProvider.cs
- IPEndPoint.cs
- remotingproxy.cs
- NonceToken.cs
- FileChangesMonitor.cs
- HttpHandlersSection.cs
- InkCollectionBehavior.cs
- XmlCodeExporter.cs
- Camera.cs
- HtmlToClrEventProxy.cs
- AsmxEndpointPickerExtension.cs
- FileDialogPermission.cs
- FontCacheUtil.cs
- WinEventWrap.cs
- DataKeyCollection.cs
- recordstate.cs
- ExceptionUtil.cs
- Base64Decoder.cs
- filewebrequest.cs
- backend.cs
- BitmapEffectDrawingContextState.cs
- DataServiceConfiguration.cs
- CqlLexer.cs
- DrawTreeNodeEventArgs.cs
- PLINQETWProvider.cs
- DataGridViewLinkColumn.cs
- AuthenticateEventArgs.cs
- _LocalDataStoreMgr.cs
- SQLDateTimeStorage.cs
- DocumentSignatureManager.cs
- GeneralTransform3DGroup.cs
- XmlSchemaException.cs
- FileEnumerator.cs
- IDispatchConstantAttribute.cs
- DesignColumnCollection.cs
- BeginStoryboard.cs
- HMACSHA1.cs
- WsdlWriter.cs
- RoleGroupCollection.cs
- SerializationInfo.cs
- LogicalMethodInfo.cs
- ValidationPropertyAttribute.cs
- PreProcessInputEventArgs.cs
- NavigationExpr.cs
- hresults.cs
- tibetanshape.cs
- XmlHierarchicalEnumerable.cs
- RichTextBox.cs
- StateMachineSubscription.cs
- CapabilitiesAssignment.cs
- RbTree.cs
- WindowsEditBoxRange.cs
- ServiceProviders.cs
- MessagePartDescription.cs
- TabletCollection.cs
- XmlUtf8RawTextWriter.cs
- XhtmlBasicCalendarAdapter.cs
- _SingleItemRequestCache.cs
- GAC.cs
- ScrollBarRenderer.cs
- Column.cs
- ToolStripMenuItemDesigner.cs
- LogEntryHeaderv1Deserializer.cs
- XmlTextEncoder.cs
- AbstractSvcMapFileLoader.cs
- CroppedBitmap.cs
- HashMembershipCondition.cs
- DataRelationPropertyDescriptor.cs
- TextTreeNode.cs
- SoapEnumAttribute.cs
- AnonymousIdentificationModule.cs
- WindowsListView.cs
- CodeExpressionRuleDeclaration.cs
- SecurityTraceRecordHelper.cs
- EdmTypeAttribute.cs
- FreezableOperations.cs
- WindowsScroll.cs
- WebSysDefaultValueAttribute.cs
- SocketException.cs
- CachedPathData.cs
- SHA384Managed.cs
- LiteralText.cs
- ValueSerializer.cs
- ContextMenuService.cs
- GridViewItemAutomationPeer.cs
- PropertyFilterAttribute.cs
- RuntimeHelpers.cs
- XmlSchemaException.cs
- DataColumnMappingCollection.cs
- WorkflowWebHostingModule.cs
- SQLInt64Storage.cs
- IndentedWriter.cs
- BindingMAnagerBase.cs
- ImportContext.cs
- PrintController.cs
- X509UI.cs