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
- WorkflowApplicationException.cs
- HotSpot.cs
- DrawingDrawingContext.cs
- DecimalStorage.cs
- _LazyAsyncResult.cs
- PointLight.cs
- coordinatorfactory.cs
- PersonalizationState.cs
- ActionMessageFilter.cs
- ModuleBuilderData.cs
- FontNamesConverter.cs
- SuppressIldasmAttribute.cs
- mil_sdk_version.cs
- XmlSerializerSection.cs
- EFAssociationProvider.cs
- XmlTextReaderImpl.cs
- IsolationInterop.cs
- SoapParser.cs
- Publisher.cs
- ClientUriBehavior.cs
- InfoCardHelper.cs
- DataBoundControlAdapter.cs
- NamedPipeActivation.cs
- Operand.cs
- HttpContextWrapper.cs
- CodeSubDirectoriesCollection.cs
- RoleBoolean.cs
- GatewayIPAddressInformationCollection.cs
- WindowsComboBox.cs
- TextSimpleMarkerProperties.cs
- COM2AboutBoxPropertyDescriptor.cs
- XmlWrappingReader.cs
- RemoteWebConfigurationHost.cs
- StopRoutingHandler.cs
- TrimSurroundingWhitespaceAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- InitializerFacet.cs
- OuterGlowBitmapEffect.cs
- SqlDataSourceCommandEventArgs.cs
- VolatileResourceManager.cs
- AsymmetricSignatureDeformatter.cs
- ModuleBuilderData.cs
- CanExecuteRoutedEventArgs.cs
- MulticastNotSupportedException.cs
- Margins.cs
- initElementDictionary.cs
- OdbcReferenceCollection.cs
- GenericXmlSecurityToken.cs
- FileVersionInfo.cs
- HtmlTableRow.cs
- Storyboard.cs
- References.cs
- SvcMapFileSerializer.cs
- AssertUtility.cs
- ScrollProperties.cs
- TextElementEnumerator.cs
- SiteMapNodeItemEventArgs.cs
- PersistencePipeline.cs
- WindowsListView.cs
- MappedMetaModel.cs
- TimeoutTimer.cs
- SerializationUtilities.cs
- DoubleConverter.cs
- SystemIPAddressInformation.cs
- updatecommandorderer.cs
- InputQueue.cs
- ErrorInfoXmlDocument.cs
- VisualStyleElement.cs
- Pts.cs
- Vector3DIndependentAnimationStorage.cs
- Window.cs
- DataGridViewCellFormattingEventArgs.cs
- HttpResponseInternalBase.cs
- AdPostCacheSubstitution.cs
- SRGSCompiler.cs
- Viewport3DVisual.cs
- ListItemParagraph.cs
- SchemaElementLookUpTable.cs
- Version.cs
- BooleanKeyFrameCollection.cs
- Point3DAnimationUsingKeyFrames.cs
- MethodExpr.cs
- CodeMethodInvokeExpression.cs
- ColorConverter.cs
- ChangePasswordAutoFormat.cs
- StickyNote.cs
- TargetInvocationException.cs
- regiisutil.cs
- SmtpFailedRecipientsException.cs
- CellPartitioner.cs
- ToolStripDropDown.cs
- HwndSourceKeyboardInputSite.cs
- EdmProviderManifest.cs
- ControlUtil.cs
- SessionStateSection.cs
- TextParagraphView.cs
- DelimitedListTraceListener.cs
- GlyphRunDrawing.cs
- SimpleType.cs
- DiagnosticTraceSource.cs