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
- GlyphRunDrawing.cs
- TextDecorationUnitValidation.cs
- DeploymentExceptionMapper.cs
- StylusPlugin.cs
- BoolExpression.cs
- dbenumerator.cs
- ConsumerConnectionPoint.cs
- EntityExpressionVisitor.cs
- CryptoHandle.cs
- SafeCloseHandleCritical.cs
- SequentialWorkflowHeaderFooter.cs
- WebPartTracker.cs
- EndEvent.cs
- MetadataArtifactLoader.cs
- MD5CryptoServiceProvider.cs
- ProcessHost.cs
- UserPreferenceChangedEventArgs.cs
- CapabilitiesUse.cs
- CodeTypeReference.cs
- DataGridBoolColumn.cs
- CollectionChangeEventArgs.cs
- DataGridViewCellValueEventArgs.cs
- bidPrivateBase.cs
- CodeCommentStatement.cs
- Line.cs
- Frame.cs
- Int16Animation.cs
- IdentityReference.cs
- StandardToolWindows.cs
- BufferedWebEventProvider.cs
- RelOps.cs
- MsmqHostedTransportConfiguration.cs
- SystemFonts.cs
- FileNotFoundException.cs
- CategoryNameCollection.cs
- DiscoveryDocument.cs
- KeyNotFoundException.cs
- CodeDelegateInvokeExpression.cs
- Binding.cs
- AmbientProperties.cs
- PersonalizationProviderCollection.cs
- DtdParser.cs
- PersistenceProviderFactory.cs
- ControlValuePropertyAttribute.cs
- XmlAtomicValue.cs
- RandomNumberGenerator.cs
- XmlSigningNodeWriter.cs
- XXXInfos.cs
- PageThemeBuildProvider.cs
- SystemWebExtensionsSectionGroup.cs
- CompiledRegexRunner.cs
- AlternateView.cs
- XmlElementAttribute.cs
- RegexCompiler.cs
- QueryStringHandler.cs
- EntityDataSourceEntitySetNameItem.cs
- ToolStripItem.cs
- DateTimeEditor.cs
- ToolstripProfessionalRenderer.cs
- WsdlBuildProvider.cs
- TextControlDesigner.cs
- EncodingTable.cs
- NullRuntimeConfig.cs
- RecordManager.cs
- CodeMemberMethod.cs
- PersonalizationStateInfo.cs
- AssemblyResourceLoader.cs
- ObjectPersistData.cs
- ProgressBarRenderer.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- XmlSchemaImport.cs
- SizeChangedInfo.cs
- WebExceptionStatus.cs
- ChildrenQuery.cs
- ItemDragEvent.cs
- KeyedHashAlgorithm.cs
- ServiceHttpModule.cs
- InheritanceAttribute.cs
- JoinCqlBlock.cs
- StdValidatorsAndConverters.cs
- ExpressionEditorAttribute.cs
- QilBinary.cs
- PassportPrincipal.cs
- CallContext.cs
- InvalidWMPVersionException.cs
- HttpCapabilitiesBase.cs
- EditorZoneAutoFormat.cs
- StrongTypingException.cs
- DataGridCellAutomationPeer.cs
- ComponentCommands.cs
- ListViewDeleteEventArgs.cs
- DeferredReference.cs
- AssemblyCacheEntry.cs
- AnonymousIdentificationSection.cs
- FigureParaClient.cs
- PublisherIdentityPermission.cs
- ToolStripScrollButton.cs
- OptimizedTemplateContent.cs
- HttpResponseWrapper.cs
- HttpInputStream.cs