Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- TextAutomationPeer.cs
- printdlgexmarshaler.cs
- QueryOperationResponseOfT.cs
- WindowsTitleBar.cs
- SamlAuthenticationClaimResource.cs
- DBCommandBuilder.cs
- DesignerSelectionListAdapter.cs
- DataControlCommands.cs
- CancelEventArgs.cs
- LayoutManager.cs
- KeyValuePair.cs
- DataGridTable.cs
- AppDomainAttributes.cs
- HttpListenerTimeoutManager.cs
- DropShadowBitmapEffect.cs
- PersonalizablePropertyEntry.cs
- FunctionParameter.cs
- UpDownEvent.cs
- X509LogoTypeExtension.cs
- Timeline.cs
- WebPartDisplayModeEventArgs.cs
- TransformDescriptor.cs
- ScrollChrome.cs
- ExchangeUtilities.cs
- BamlRecordReader.cs
- Rights.cs
- EnumMemberAttribute.cs
- DrawItemEvent.cs
- FileDialogPermission.cs
- Message.cs
- InputManager.cs
- IPEndPoint.cs
- WebPartEventArgs.cs
- XamlRtfConverter.cs
- GeneralTransform3DCollection.cs
- MultiAsyncResult.cs
- LogicalExpr.cs
- RegexFCD.cs
- KeyboardDevice.cs
- Brush.cs
- PatternMatcher.cs
- DictionaryBase.cs
- RequestCachePolicyConverter.cs
- BinHexEncoding.cs
- DataGridViewTextBoxColumn.cs
- ControlAdapter.cs
- WindowsListViewItem.cs
- AlternateView.cs
- CodeCompiler.cs
- SecurityPolicySection.cs
- PathNode.cs
- TextBox.cs
- RulePatternOps.cs
- TypeDescriptor.cs
- OleDbError.cs
- DetailsViewRow.cs
- StyleTypedPropertyAttribute.cs
- MultiView.cs
- wgx_sdk_version.cs
- WebScriptMetadataFormatter.cs
- StackOverflowException.cs
- RelOps.cs
- ByteStack.cs
- TrackBarRenderer.cs
- Viewport3DAutomationPeer.cs
- Positioning.cs
- MissingMethodException.cs
- ADMembershipUser.cs
- WindowsListViewGroupHelper.cs
- ThreadAbortException.cs
- x509utils.cs
- LinqToSqlWrapper.cs
- CookieProtection.cs
- EntityDataSourceValidationException.cs
- Not.cs
- WSFederationHttpBinding.cs
- AutomationPropertyInfo.cs
- MediaScriptCommandRoutedEventArgs.cs
- PassportAuthenticationModule.cs
- SettingsPropertyValue.cs
- ChildTable.cs
- SQLChars.cs
- EndpointPerformanceCounters.cs
- SafePipeHandle.cs
- OpacityConverter.cs
- SignedXml.cs
- LongValidator.cs
- RuntimeArgument.cs
- BitmapPalette.cs
- ToolStripHighContrastRenderer.cs
- EditorOptionAttribute.cs
- DataGridColumn.cs
- XmlSortKey.cs
- ContentElement.cs
- ClientFormsAuthenticationCredentials.cs
- DeclarativeCatalogPart.cs
- ClassValidator.cs
- NavigationHelper.cs
- DependsOnAttribute.cs
- DataAdapter.cs