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
- NotificationContext.cs
- XmlSchemaAttributeGroupRef.cs
- DataGridPageChangedEventArgs.cs
- wmiprovider.cs
- TableLayoutPanelResizeGlyph.cs
- BinaryParser.cs
- SelectedDatesCollection.cs
- PtsContext.cs
- RouteItem.cs
- TreeChangeInfo.cs
- RuleDefinitions.cs
- ValidationErrorCollection.cs
- _BufferOffsetSize.cs
- Base64Stream.cs
- MediaSystem.cs
- ContentPosition.cs
- LocalIdKeyIdentifierClause.cs
- WizardForm.cs
- WebPartConnectionCollection.cs
- EventlogProvider.cs
- ErrorFormatter.cs
- BStrWrapper.cs
- SignedXml.cs
- DataSpaceManager.cs
- WarningException.cs
- TypeSystem.cs
- ReferencedType.cs
- CurrentTimeZone.cs
- XamlFigureLengthSerializer.cs
- UTF32Encoding.cs
- IConvertible.cs
- ProtocolInformationReader.cs
- EventData.cs
- GridViewSortEventArgs.cs
- HttpInputStream.cs
- DataColumnMapping.cs
- PrivilegeNotHeldException.cs
- ListSortDescription.cs
- ConfigurationPropertyAttribute.cs
- ArrayElementGridEntry.cs
- HttpContextServiceHost.cs
- XsdBuildProvider.cs
- MetadataCollection.cs
- SyndicationDeserializer.cs
- ILGen.cs
- WorkflowService.cs
- XmlEnumAttribute.cs
- RegularExpressionValidator.cs
- DependsOnAttribute.cs
- DecimalAnimation.cs
- MetadataUtil.cs
- FormsIdentity.cs
- RenderTargetBitmap.cs
- SiteOfOriginPart.cs
- IntegerFacetDescriptionElement.cs
- LocationReferenceValue.cs
- PersonalizationStateInfoCollection.cs
- FontFaceLayoutInfo.cs
- DecoratedNameAttribute.cs
- AutomationPatternInfo.cs
- BackStopAuthenticationModule.cs
- ReadingWritingEntityEventArgs.cs
- PersonalizationProvider.cs
- StreamWriter.cs
- SizeLimitedCache.cs
- WpfSharedBamlSchemaContext.cs
- RunWorkerCompletedEventArgs.cs
- EdmItemCollection.OcAssemblyCache.cs
- DataServiceRequest.cs
- SqlBulkCopy.cs
- StateDesigner.LayoutSelectionGlyph.cs
- ProcessModuleCollection.cs
- SupportingTokenSpecification.cs
- XmlSchemaGroup.cs
- DateTimeValueSerializerContext.cs
- FontConverter.cs
- Rect3DValueSerializer.cs
- FunctionGenerator.cs
- ExceptQueryOperator.cs
- KeyedCollection.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- PerspectiveCamera.cs
- PropertyDescriptor.cs
- ParameterCollection.cs
- InsufficientMemoryException.cs
- IDataContractSurrogate.cs
- XmlAnyElementAttributes.cs
- SplitterEvent.cs
- QueryActivatableWorkflowsCommand.cs
- OdbcTransaction.cs
- ProfileEventArgs.cs
- SharedPerformanceCounter.cs
- SharedTcpTransportManager.cs
- TrackingServices.cs
- ICspAsymmetricAlgorithm.cs
- ComponentConverter.cs
- ErrorFormatterPage.cs
- PeerNameRegistration.cs
- SqlDataSourceQueryConverter.cs
- StringBuilder.cs