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
- XmlConverter.cs
- SqlTransaction.cs
- DataService.cs
- CompilerCollection.cs
- ConversionValidationRule.cs
- invalidudtexception.cs
- WCFServiceClientProxyGenerator.cs
- WSSecureConversationFeb2005.cs
- InvokeWebServiceDesigner.cs
- RbTree.cs
- GenericsInstances.cs
- ellipse.cs
- DecimalConstantAttribute.cs
- FunctionParameter.cs
- Hex.cs
- TypeToStringValueConverter.cs
- PeerTransportListenAddressValidator.cs
- OracleParameter.cs
- VisualBrush.cs
- MetadataPropertyAttribute.cs
- WebEvents.cs
- DeclarativeCatalogPart.cs
- FocusTracker.cs
- TextFormatterImp.cs
- StatusBarItem.cs
- WebBrowserBase.cs
- EpmContentDeSerializerBase.cs
- SecurityContext.cs
- Comparer.cs
- ModelTreeEnumerator.cs
- WebServiceHost.cs
- XmlSecureResolver.cs
- ClassImporter.cs
- ListViewItem.cs
- LineProperties.cs
- SchemaElementLookUpTable.cs
- WorkflowPersistenceService.cs
- GridViewCancelEditEventArgs.cs
- Style.cs
- OleDbStruct.cs
- TemplatingOptionsDialog.cs
- XmlMembersMapping.cs
- EdmSchemaAttribute.cs
- PageClientProxyGenerator.cs
- AsyncResult.cs
- CatalogPartCollection.cs
- ExtensibleClassFactory.cs
- PropertyGridEditorPart.cs
- ChildrenQuery.cs
- SafeCryptoKeyHandle.cs
- InvalidAsynchronousStateException.cs
- ModelItemDictionary.cs
- BitmapPalettes.cs
- InvalidComObjectException.cs
- PathNode.cs
- LogicalChannel.cs
- SqlAggregateChecker.cs
- CustomGrammar.cs
- TextElementAutomationPeer.cs
- CompilationRelaxations.cs
- ActionFrame.cs
- ObjectTypeMapping.cs
- TreeViewCancelEvent.cs
- CookieProtection.cs
- DataViewManager.cs
- LinkAreaEditor.cs
- AsmxEndpointPickerExtension.cs
- Point3DAnimationBase.cs
- GroupPartitionExpr.cs
- FixedBufferAttribute.cs
- StrokeNodeOperations.cs
- ProfileInfo.cs
- ReturnValue.cs
- SettingsBindableAttribute.cs
- UDPClient.cs
- GenerateScriptTypeAttribute.cs
- SqlBulkCopyColumnMapping.cs
- ComEventsInfo.cs
- DesignerImageAdapter.cs
- PageParserFilter.cs
- PrimaryKeyTypeConverter.cs
- JoinQueryOperator.cs
- EntityClientCacheKey.cs
- WebServiceReceiveDesigner.cs
- ComponentGlyph.cs
- SubstitutionDesigner.cs
- ScrollChrome.cs
- StringAnimationUsingKeyFrames.cs
- SchemaEntity.cs
- PersonalizationState.cs
- WorkflowOperationInvoker.cs
- DiscoveryDocumentSearchPattern.cs
- CheckableControlBaseAdapter.cs
- TransformPatternIdentifiers.cs
- ToolStripPanelRow.cs
- SQLString.cs
- GridProviderWrapper.cs
- TearOffProxy.cs
- SelectionEditingBehavior.cs
- GridViewPageEventArgs.cs