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
- ConfigurationElementCollection.cs
- WindowsNonControl.cs
- TargetFrameworkAttribute.cs
- FullTextBreakpoint.cs
- SqlStream.cs
- UndoEngine.cs
- BlobPersonalizationState.cs
- GeneratedContractType.cs
- ApplicationActivator.cs
- DirectoryNotFoundException.cs
- PreviewPrintController.cs
- WebControl.cs
- OdbcException.cs
- AndCondition.cs
- UpdateEventArgs.cs
- LinqExpressionNormalizer.cs
- PackWebResponse.cs
- Listener.cs
- ObjectParameter.cs
- MultiDataTrigger.cs
- CheckBoxField.cs
- TemplateField.cs
- XPathNodeList.cs
- QuadraticBezierSegment.cs
- Empty.cs
- WebConfigurationManager.cs
- TypeLibConverter.cs
- HostProtectionException.cs
- BuildResult.cs
- EndGetFileNameFromUserRequest.cs
- QilChoice.cs
- IsolationInterop.cs
- SkinBuilder.cs
- _HeaderInfo.cs
- PageOrientation.cs
- ProviderSettings.cs
- MediaPlayerState.cs
- keycontainerpermission.cs
- AccessDataSourceView.cs
- LicenseContext.cs
- KnownTypes.cs
- DecoratedNameAttribute.cs
- NativeWrapper.cs
- RectConverter.cs
- InputManager.cs
- IfAction.cs
- PreProcessInputEventArgs.cs
- DesignerAttribute.cs
- AffineTransform3D.cs
- SafeHandles.cs
- GridEntry.cs
- PersonalizationStateQuery.cs
- NamedPipeChannelListener.cs
- TransformGroup.cs
- xmlsaver.cs
- PTConverter.cs
- NameValuePair.cs
- HtmlGenericControl.cs
- Terminate.cs
- BaseParagraph.cs
- XmlValidatingReader.cs
- InternalTypeHelper.cs
- UrlAuthorizationModule.cs
- SetState.cs
- TypeUtil.cs
- SmiTypedGetterSetter.cs
- EntityContainer.cs
- ApplicationHost.cs
- SoapInteropTypes.cs
- BitmapEffect.cs
- ComplexPropertyEntry.cs
- ProfessionalColorTable.cs
- GlobalItem.cs
- EventDescriptor.cs
- CodeCastExpression.cs
- StateDesigner.Helpers.cs
- TextEditorTyping.cs
- ConcatQueryOperator.cs
- WebConfigurationHostFileChange.cs
- HttpInputStream.cs
- NoPersistProperty.cs
- GatewayDefinition.cs
- UserControlFileEditor.cs
- DateTimeOffsetConverter.cs
- DataObject.cs
- BitmapMetadataEnumerator.cs
- CustomWebEventKey.cs
- TrackingStringDictionary.cs
- QueryExecutionOption.cs
- Transactions.cs
- AspCompat.cs
- PeerNodeAddress.cs
- DataControlImageButton.cs
- IntPtr.cs
- ObjectViewEntityCollectionData.cs
- MessageRpc.cs
- SafeFileMappingHandle.cs
- ClusterRegistryConfigurationProvider.cs
- Zone.cs
- PolicyException.cs