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
- XmlAttributes.cs
- TransmissionStrategy.cs
- AssociatedControlConverter.cs
- ImageKeyConverter.cs
- PolyQuadraticBezierSegment.cs
- RequestTimeoutManager.cs
- ObjectStateFormatter.cs
- TableAdapterManagerGenerator.cs
- ProxyWebPart.cs
- CompositionCommandSet.cs
- SecuritySessionSecurityTokenProvider.cs
- SystemUnicastIPAddressInformation.cs
- EventLogEntryCollection.cs
- XmlDomTextWriter.cs
- EmptyEnumerator.cs
- UnknownBitmapEncoder.cs
- Form.cs
- OleDbException.cs
- DrawItemEvent.cs
- FormViewInsertEventArgs.cs
- DataSvcMapFileSerializer.cs
- SerializerProvider.cs
- DiagnosticTrace.cs
- DesignerExtenders.cs
- Stacktrace.cs
- HtmlTableRowCollection.cs
- RootProjectionNode.cs
- Substitution.cs
- GestureRecognitionResult.cs
- TypeBrowserDialog.cs
- Attachment.cs
- SingleTagSectionHandler.cs
- JpegBitmapDecoder.cs
- CompiledIdentityConstraint.cs
- ErrorRuntimeConfig.cs
- ExpressionBindings.cs
- Logging.cs
- RemotingConfiguration.cs
- IntPtr.cs
- ClusterRegistryConfigurationProvider.cs
- ArrayWithOffset.cs
- DesignerForm.cs
- EntityPropertyMappingAttribute.cs
- ImageFormat.cs
- DockingAttribute.cs
- MemoryMappedView.cs
- PhoneCallDesigner.cs
- WebPartTransformer.cs
- SQLGuidStorage.cs
- XmlSignificantWhitespace.cs
- InternalPermissions.cs
- RouteValueExpressionBuilder.cs
- LazyTextWriterCreator.cs
- ExtensionDataObject.cs
- ViewStateException.cs
- ActivityBindForm.cs
- EntryIndex.cs
- ElementsClipboardData.cs
- CodeComment.cs
- WCFServiceClientProxyGenerator.cs
- HtmlInputCheckBox.cs
- ModelVisual3D.cs
- Config.cs
- ScopedKnownTypes.cs
- StopStoryboard.cs
- GlyphManager.cs
- WorkflowOperationAsyncResult.cs
- WebEventCodes.cs
- DataBoundControlHelper.cs
- ConstantProjectedSlot.cs
- PrefixQName.cs
- DetailsViewPageEventArgs.cs
- UnsafeNativeMethods.cs
- IdentityHolder.cs
- VirtualizingPanel.cs
- GradientStop.cs
- CqlBlock.cs
- ColumnResizeAdorner.cs
- _KerberosClient.cs
- _NestedSingleAsyncResult.cs
- XsdDataContractExporter.cs
- BitmapEffectInput.cs
- ThreadSafeList.cs
- SchemaEntity.cs
- AllMembershipCondition.cs
- TrustLevelCollection.cs
- ProcessRequestArgs.cs
- WindowsComboBox.cs
- NavigatorInput.cs
- DiscoveryEndpoint.cs
- TextTreeInsertUndoUnit.cs
- TreeView.cs
- RelationshipNavigation.cs
- SerializerProvider.cs
- GuidTagList.cs
- Application.cs
- AxisAngleRotation3D.cs
- EntitySqlQueryCacheEntry.cs
- Update.cs
- UInt32Converter.cs