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
- Regex.cs
- CachedBitmap.cs
- TargetFrameworkAttribute.cs
- WSFederationHttpBindingCollectionElement.cs
- ChannelSinkStacks.cs
- ScriptManager.cs
- MenuCommandsChangedEventArgs.cs
- WebPartDisplayModeCollection.cs
- VolatileEnlistmentState.cs
- ModuleConfigurationInfo.cs
- MimeObjectFactory.cs
- X509Certificate.cs
- DemultiplexingClientMessageFormatter.cs
- WebScriptMetadataFormatter.cs
- BamlWriter.cs
- StoreContentChangedEventArgs.cs
- UIElementAutomationPeer.cs
- XamlReaderHelper.cs
- RegexCaptureCollection.cs
- DBSchemaTable.cs
- JournalEntry.cs
- Calendar.cs
- InvariantComparer.cs
- RawStylusSystemGestureInputReport.cs
- dataobject.cs
- ReadOnlyCollectionBuilder.cs
- SqlWebEventProvider.cs
- FormatConvertedBitmap.cs
- Trigger.cs
- _ShellExpression.cs
- InvalidateEvent.cs
- FusionWrap.cs
- ModelVisual3D.cs
- MethodAccessException.cs
- DependencyPropertyAttribute.cs
- InternalTypeHelper.cs
- Wow64ConfigurationLoader.cs
- PngBitmapDecoder.cs
- ConfigXmlComment.cs
- EventLog.cs
- NullableIntAverageAggregationOperator.cs
- XMLSchema.cs
- FileFormatException.cs
- InputLangChangeEvent.cs
- smtpconnection.cs
- _HelperAsyncResults.cs
- ConfigurationManagerHelper.cs
- DataGrid.cs
- TypeLibConverter.cs
- KeyMatchBuilder.cs
- UrlMappingsSection.cs
- complextypematerializer.cs
- IndexExpression.cs
- TimeZone.cs
- Queue.cs
- HttpModulesSection.cs
- MetaForeignKeyColumn.cs
- WebPartTransformerCollection.cs
- LostFocusEventManager.cs
- NamespaceList.cs
- WrappedIUnknown.cs
- DbgUtil.cs
- TextRunCache.cs
- Parameter.cs
- UndoUnit.cs
- ToolStripPanelRow.cs
- PolicyManager.cs
- AstTree.cs
- WebPartEditVerb.cs
- DiscoveryMessageProperty.cs
- TypeSystem.cs
- SymLanguageVendor.cs
- TileModeValidation.cs
- ImmutableObjectAttribute.cs
- SchemaTypeEmitter.cs
- SystemInfo.cs
- CustomSignedXml.cs
- WindowsTokenRoleProvider.cs
- DataGridRowHeaderAutomationPeer.cs
- UpdateTranslator.cs
- ClientProxyGenerator.cs
- CheckBoxBaseAdapter.cs
- HScrollProperties.cs
- PropVariant.cs
- XmlCharType.cs
- SrgsRulesCollection.cs
- ToolStripPanelRenderEventArgs.cs
- HealthMonitoringSection.cs
- RemoteWebConfigurationHost.cs
- WindowsBrush.cs
- AssertFilter.cs
- remotingproxy.cs
- PagedControl.cs
- URIFormatException.cs
- PublisherMembershipCondition.cs
- WebPartZoneBase.cs
- ValidationErrorCollection.cs
- SimpleExpression.cs
- SpeechRecognitionEngine.cs
- Oci.cs