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
- LogLogRecordEnumerator.cs
- SafePointer.cs
- ListViewItemMouseHoverEvent.cs
- WSHttpTransportSecurityElement.cs
- BitmapEffectRenderDataResource.cs
- XmlSchemaSequence.cs
- TableRowCollection.cs
- HttpCachePolicyWrapper.cs
- ListViewEditEventArgs.cs
- CompilationLock.cs
- ParallelRangeManager.cs
- StringPropertyBuilder.cs
- DataServiceRequestOfT.cs
- ObjectDataProvider.cs
- Rectangle.cs
- RawMouseInputReport.cs
- InheritanceUI.cs
- DomainUpDown.cs
- MulticastOption.cs
- SliderAutomationPeer.cs
- AuthenticationServiceManager.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- TemplateContentLoader.cs
- MultipleViewProviderWrapper.cs
- HandleCollector.cs
- HitTestWithPointDrawingContextWalker.cs
- StringValueSerializer.cs
- StdValidatorsAndConverters.cs
- DataGridViewCellConverter.cs
- Interlocked.cs
- SourceInterpreter.cs
- BufferedWebEventProvider.cs
- WindowAutomationPeer.cs
- Item.cs
- HttpRequestWrapper.cs
- User.cs
- TempFiles.cs
- PageFunction.cs
- StringDictionary.cs
- sqlnorm.cs
- XmlStreamStore.cs
- RemoteCryptoSignHashRequest.cs
- DbMetaDataFactory.cs
- XmlAttributeAttribute.cs
- DefaultBinder.cs
- UnrecognizedPolicyAssertionElement.cs
- EditorPartChrome.cs
- DataTableTypeConverter.cs
- ClientOptions.cs
- CompiledELinqQueryState.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- ObjectParameter.cs
- FixUp.cs
- Ipv6Element.cs
- Condition.cs
- WindowsIPAddress.cs
- FontStretches.cs
- NodeLabelEditEvent.cs
- RegexCompiler.cs
- XDeferredAxisSource.cs
- NativeStructs.cs
- SqlRowUpdatingEvent.cs
- View.cs
- CookielessHelper.cs
- PointAnimationUsingKeyFrames.cs
- elementinformation.cs
- XmlUnspecifiedAttribute.cs
- DesignerEditorPartChrome.cs
- Expressions.cs
- EmbeddedObject.cs
- MetadataPropertyCollection.cs
- WindowInteropHelper.cs
- SQLBoolean.cs
- XamlSerializationHelper.cs
- SpeakProgressEventArgs.cs
- Axis.cs
- DataColumnMappingCollection.cs
- UnhandledExceptionEventArgs.cs
- SvcMapFile.cs
- OleDbWrapper.cs
- X509Certificate2.cs
- SecurityCriticalDataForSet.cs
- DataGridViewHitTestInfo.cs
- ClosableStream.cs
- DirtyTextRange.cs
- PopOutPanel.cs
- Attributes.cs
- SharedStream.cs
- DataTableReaderListener.cs
- CorrelationActionMessageFilter.cs
- RegexInterpreter.cs
- BulletedList.cs
- ButtonFieldBase.cs
- ClassImporter.cs
- ButtonPopupAdapter.cs
- AsyncInvokeContext.cs
- EventRouteFactory.cs
- CodeDelegateCreateExpression.cs
- XmlDataSourceView.cs
- TdsParser.cs