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
- ColumnTypeConverter.cs
- ChannelEndpointElement.cs
- MessageFilterTable.cs
- QilGeneratorEnv.cs
- BeginEvent.cs
- RenderCapability.cs
- CodeTypeDeclarationCollection.cs
- StyleCollection.cs
- TypedTableBase.cs
- DataServiceRequest.cs
- MappingMetadataHelper.cs
- LinearKeyFrames.cs
- FileClassifier.cs
- SafeRegistryHandle.cs
- StateMachineSubscription.cs
- GroupItemAutomationPeer.cs
- TextEditorThreadLocalStore.cs
- ChtmlFormAdapter.cs
- HttpSessionStateWrapper.cs
- AxisAngleRotation3D.cs
- FontInfo.cs
- SecurityUniqueId.cs
- Baml6ConstructorInfo.cs
- ProjectedWrapper.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- PolyBezierSegment.cs
- ObjectTag.cs
- sqlcontext.cs
- CompModSwitches.cs
- AnimatedTypeHelpers.cs
- XmlSchemaParticle.cs
- InfocardClientCredentials.cs
- SQLByte.cs
- GeometryConverter.cs
- TextTreeObjectNode.cs
- TreeViewHitTestInfo.cs
- Translator.cs
- SQLDecimalStorage.cs
- SqlCommandSet.cs
- EntryIndex.cs
- ListCollectionView.cs
- XmlText.cs
- ListViewDeleteEventArgs.cs
- StringToken.cs
- RuleEngine.cs
- SchemaElementDecl.cs
- Matrix3D.cs
- ElapsedEventArgs.cs
- SafeArrayTypeMismatchException.cs
- ListItemCollection.cs
- LockRenewalTask.cs
- ProfilePropertyMetadata.cs
- CustomAssemblyResolver.cs
- AQNBuilder.cs
- LayoutSettings.cs
- printdlgexmarshaler.cs
- SqlVisitor.cs
- DataChangedEventManager.cs
- AutomationPeer.cs
- DataSourceControl.cs
- MonthCalendar.cs
- TableItemPattern.cs
- FontSource.cs
- relpropertyhelper.cs
- DesignerAutoFormatStyle.cs
- AbstractExpressions.cs
- HwndStylusInputProvider.cs
- FileLevelControlBuilderAttribute.cs
- KnownBoxes.cs
- DynamicValidator.cs
- InternalRelationshipCollection.cs
- ConvertEvent.cs
- TypeConverterHelper.cs
- ChildrenQuery.cs
- BlurBitmapEffect.cs
- TransactionTraceIdentifier.cs
- HierarchicalDataBoundControlAdapter.cs
- XmlSerializerSection.cs
- KeyNotFoundException.cs
- designeractionlistschangedeventargs.cs
- Label.cs
- HttpContext.cs
- util.cs
- FastEncoder.cs
- MapPathBasedVirtualPathProvider.cs
- CatalogZoneBase.cs
- MenuStrip.cs
- SmtpReplyReaderFactory.cs
- ConfigurationSectionHelper.cs
- CompositeCollection.cs
- TimeoutTimer.cs
- NetSectionGroup.cs
- MD5HashHelper.cs
- EDesignUtil.cs
- dtdvalidator.cs
- XmlDocumentFragment.cs
- ClientType.cs
- DesignerCalendarAdapter.cs
- DataKeyCollection.cs
- DesignerToolStripControlHost.cs