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
- DataSourceProvider.cs
- GridViewSortEventArgs.cs
- ClientConvert.cs
- PermissionAttributes.cs
- CodeVariableReferenceExpression.cs
- KnownTypesProvider.cs
- DataGridViewControlCollection.cs
- SocketException.cs
- LinkedList.cs
- LongMinMaxAggregationOperator.cs
- GraphicsContainer.cs
- SchemaNotation.cs
- StringReader.cs
- Emitter.cs
- UrlAuthFailedErrorFormatter.cs
- ReferencedAssembly.cs
- ControlBuilder.cs
- GenericTypeParameterBuilder.cs
- DBDataPermissionAttribute.cs
- EventProviderWriter.cs
- TreeNodeCollection.cs
- CodeDelegateCreateExpression.cs
- DebugHandleTracker.cs
- Sql8ConformanceChecker.cs
- XmlResolver.cs
- Underline.cs
- ApplyTemplatesAction.cs
- ImageSourceValueSerializer.cs
- ContentPresenter.cs
- TemplateBindingExtensionConverter.cs
- RowVisual.cs
- PopOutPanel.cs
- CollectionCodeDomSerializer.cs
- ActivityDesignerLayoutSerializers.cs
- TypedReference.cs
- TextUtf8RawTextWriter.cs
- LongValidator.cs
- _Semaphore.cs
- EventToken.cs
- UnwrappedTypesXmlSerializerManager.cs
- DataServiceEntityAttribute.cs
- ProviderException.cs
- BamlLocalizationDictionary.cs
- RemoteWebConfigurationHost.cs
- CustomLineCap.cs
- LostFocusEventManager.cs
- AttachedAnnotation.cs
- ContainsRowNumberChecker.cs
- SoapAttributeOverrides.cs
- ParserExtension.cs
- DataPagerFieldCommandEventArgs.cs
- TemplatedAdorner.cs
- XmlArrayItemAttributes.cs
- SizeValueSerializer.cs
- SpoolingTaskBase.cs
- ObjectReaderCompiler.cs
- BamlTreeMap.cs
- Clause.cs
- DummyDataSource.cs
- TreeSet.cs
- AssociatedControlConverter.cs
- ParenthesizePropertyNameAttribute.cs
- SocketElement.cs
- OleDbReferenceCollection.cs
- Oid.cs
- BinaryObjectWriter.cs
- FixedSOMTable.cs
- VirtualPathUtility.cs
- DeadCharTextComposition.cs
- BooleanAnimationBase.cs
- ListArgumentProvider.cs
- JournalEntryStack.cs
- ButtonAutomationPeer.cs
- DataProtection.cs
- GeometryModel3D.cs
- RotateTransform.cs
- ObjectDataSourceEventArgs.cs
- MemberDomainMap.cs
- BinaryCommonClasses.cs
- StyleCollection.cs
- XPathScanner.cs
- IdentityHolder.cs
- TheQuery.cs
- ResXBuildProvider.cs
- ToolStripContextMenu.cs
- PKCS1MaskGenerationMethod.cs
- TextElement.cs
- Reference.cs
- HttpWriter.cs
- ConsoleKeyInfo.cs
- CodeAccessPermission.cs
- GridPattern.cs
- ExtensionWindowHeader.cs
- PatternMatchRules.cs
- ActivityBindForm.cs
- PeerCredential.cs
- Stopwatch.cs
- AspNetRouteServiceHttpHandler.cs
- StringOutput.cs
- EventHandlerList.cs