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
- CalloutQueueItem.cs
- TransportationConfigurationTypeInstallComponent.cs
- JulianCalendar.cs
- Condition.cs
- DrawingImage.cs
- RuleRefElement.cs
- ExpressionHelper.cs
- FilteredAttributeCollection.cs
- DateTimeOffset.cs
- ObjectIDGenerator.cs
- CodeIdentifier.cs
- TcpDuplicateContext.cs
- XmlILModule.cs
- GlobalizationAssembly.cs
- AsyncCallback.cs
- PrinterUnitConvert.cs
- PageOutputQuality.cs
- RegexWriter.cs
- SqlTypeSystemProvider.cs
- OleDbFactory.cs
- DtdParser.cs
- ExpressionLink.cs
- TabControlEvent.cs
- WebService.cs
- GetCertificateRequest.cs
- XmlSchemaImporter.cs
- ProfilePropertySettingsCollection.cs
- CannotUnloadAppDomainException.cs
- ConfigurationConverterBase.cs
- CornerRadius.cs
- Pointer.cs
- DataBindingCollectionEditor.cs
- VariableAction.cs
- SecurityBindingElement.cs
- PropertyDescriptor.cs
- SqlXml.cs
- ValueSerializerAttribute.cs
- CollectionViewProxy.cs
- SessionPageStateSection.cs
- Configuration.cs
- OpacityConverter.cs
- Rotation3DAnimation.cs
- ToolStripContentPanelDesigner.cs
- GenericUriParser.cs
- DataObjectCopyingEventArgs.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- Error.cs
- DocumentViewerConstants.cs
- WizardStepBase.cs
- SQLDateTimeStorage.cs
- SettingsPropertyValueCollection.cs
- ColorDialog.cs
- InternalConfigEventArgs.cs
- AuthenticationConfig.cs
- ValidationRule.cs
- HwndSubclass.cs
- HandledMouseEvent.cs
- TypeBuilderInstantiation.cs
- StoreAnnotationsMap.cs
- PermissionSet.cs
- DataServiceException.cs
- BasicCommandTreeVisitor.cs
- HttpWriter.cs
- XmlValueConverter.cs
- Exceptions.cs
- PeerHopCountAttribute.cs
- PersonalizationProvider.cs
- TransactionInformation.cs
- DeclarativeCatalogPart.cs
- DefaultSerializationProviderAttribute.cs
- EditorZoneBase.cs
- DataViewManager.cs
- ClientEventManager.cs
- Positioning.cs
- Msec.cs
- DateTimeUtil.cs
- OdbcCommandBuilder.cs
- HttpProcessUtility.cs
- CodeLinePragma.cs
- CodeNamespaceImportCollection.cs
- ReferenceSchema.cs
- DataObjectAttribute.cs
- Menu.cs
- ContextMenu.cs
- LineServices.cs
- DbTypeMap.cs
- WebHttpBindingCollectionElement.cs
- Ops.cs
- NamespaceMapping.cs
- DataGridCaption.cs
- CachedTypeface.cs
- SqlParameterCollection.cs
- LayoutEngine.cs
- ServiceHttpModule.cs
- HttpPostServerProtocol.cs
- SoapElementAttribute.cs
- MsmqMessage.cs
- GeometryDrawing.cs
- XmlSchemaAttribute.cs
- ObjectSet.cs