Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// The argument for the attribute. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Transform3DCollection.cs
- SpeechSeg.cs
- ObjectStateFormatter.cs
- HttpListenerPrefixCollection.cs
- URL.cs
- PriorityBinding.cs
- UnauthorizedAccessException.cs
- ReadOnlyDataSourceView.cs
- ObjectSecurity.cs
- NativeMethods.cs
- StaticSiteMapProvider.cs
- ToolBarPanel.cs
- DataRowView.cs
- CodeObject.cs
- Item.cs
- TableCellCollection.cs
- ObjectStorage.cs
- DrawingState.cs
- X509Utils.cs
- TransformCollection.cs
- HtmlTableRow.cs
- FontCollection.cs
- HttpPostProtocolReflector.cs
- Util.cs
- PenContext.cs
- CmsInterop.cs
- tooltip.cs
- ListBindingHelper.cs
- SchemaCollectionPreprocessor.cs
- ZipIOLocalFileHeader.cs
- RowTypePropertyElement.cs
- WorkflowInstanceTerminatedRecord.cs
- DataBindingHandlerAttribute.cs
- PropertyEmitterBase.cs
- ObjectDataSourceMethodEventArgs.cs
- ClockGroup.cs
- SynchronizedCollection.cs
- TraceShell.cs
- XPathBinder.cs
- DatagridviewDisplayedBandsData.cs
- DocumentAutomationPeer.cs
- InboundActivityHelper.cs
- SEHException.cs
- DataGridViewAccessibleObject.cs
- VisualStateChangedEventArgs.cs
- SafeRightsManagementPubHandle.cs
- CapabilitiesSection.cs
- CompModSwitches.cs
- GenericRootAutomationPeer.cs
- RegexRunner.cs
- TypeBuilder.cs
- GradientStop.cs
- TemplateColumn.cs
- QilList.cs
- DesignerResources.cs
- SemaphoreSecurity.cs
- WebScriptMetadataMessageEncoderFactory.cs
- Model3D.cs
- Variant.cs
- CompiledQuery.cs
- DiscoveryClientProtocol.cs
- TransactionException.cs
- StreamUpgradeBindingElement.cs
- ChangeToolStripParentVerb.cs
- PathTooLongException.cs
- COM2PropertyPageUITypeConverter.cs
- FixedTextBuilder.cs
- AttributeCollection.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- ObjectView.cs
- PropertyManager.cs
- hebrewshape.cs
- BooleanProjectedSlot.cs
- DataRelation.cs
- BindValidator.cs
- SubqueryRules.cs
- BamlLocalizabilityResolver.cs
- DesignerVerb.cs
- SchemaImporterExtensionsSection.cs
- VerifyHashRequest.cs
- AsymmetricSignatureDeformatter.cs
- XmlText.cs
- SqlGenericUtil.cs
- SecUtil.cs
- PointValueSerializer.cs
- initElementDictionary.cs
- SafeRegistryHandle.cs
- DoubleLink.cs
- PageThemeParser.cs
- SecurityNegotiationException.cs
- ObjectDataSourceDisposingEventArgs.cs
- SpellerStatusTable.cs
- ListBindingHelper.cs
- AuthorizationRuleCollection.cs
- InfoCardService.cs
- TextBoxLine.cs
- DiscoveryClientElement.cs
- PropertyValueChangedEvent.cs
- TwoPhaseCommit.cs
- ConfigurationValidatorAttribute.cs