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
- EventSetterHandlerConverter.cs
- HtmlHead.cs
- EncryptedKey.cs
- ArrayList.cs
- ComponentCommands.cs
- PerfCounters.cs
- _NestedSingleAsyncResult.cs
- AppliedDeviceFiltersEditor.cs
- HelpInfo.cs
- MarginsConverter.cs
- EntityObject.cs
- ObjectDataSourceStatusEventArgs.cs
- Ipv6Element.cs
- BaseTransportHeaders.cs
- ResetableIterator.cs
- StoreItemCollection.Loader.cs
- RawStylusSystemGestureInputReport.cs
- ILGenerator.cs
- BlurBitmapEffect.cs
- SynchronizationContext.cs
- OrthographicCamera.cs
- DnsElement.cs
- TextWriterTraceListener.cs
- MetadataArtifactLoaderCompositeResource.cs
- OleDbException.cs
- HandledEventArgs.cs
- ProgramNode.cs
- ToolStripDropDownItem.cs
- DataGridViewRowPostPaintEventArgs.cs
- ConfigurationSectionGroupCollection.cs
- HwndKeyboardInputProvider.cs
- FormViewDeletedEventArgs.cs
- DynamicDataManager.cs
- CommandValueSerializer.cs
- ExpressionParser.cs
- SafeThreadHandle.cs
- TypedRowHandler.cs
- Script.cs
- ListItemConverter.cs
- XmlTypeMapping.cs
- XmlNamedNodeMap.cs
- ComboBox.cs
- TypeConverterValueSerializer.cs
- ZipIOExtraFieldPaddingElement.cs
- Literal.cs
- MobileUITypeEditor.cs
- MetabaseServerConfig.cs
- SolidColorBrush.cs
- PropertyChangingEventArgs.cs
- BinaryObjectInfo.cs
- TimelineGroup.cs
- HistoryEventArgs.cs
- ImagingCache.cs
- AppearanceEditorPart.cs
- ObjectDataSourceEventArgs.cs
- BitmapSizeOptions.cs
- HostedTransportConfigurationManager.cs
- TagPrefixAttribute.cs
- ArrangedElement.cs
- PropertyKey.cs
- MethodImplAttribute.cs
- FieldTemplateFactory.cs
- AttributeSetAction.cs
- GradientStop.cs
- NumberSubstitution.cs
- DataServiceHost.cs
- VisemeEventArgs.cs
- ActivityTypeResolver.xaml.cs
- Errors.cs
- ConstructorNeedsTagAttribute.cs
- GenericTextProperties.cs
- WebPartHelpVerb.cs
- MulticastIPAddressInformationCollection.cs
- NavigateEvent.cs
- SqlCommandAsyncResult.cs
- ModuleConfigurationInfo.cs
- PageOrientation.cs
- CodeFieldReferenceExpression.cs
- Intellisense.cs
- WebPartVerbsEventArgs.cs
- ResourceReferenceExpressionConverter.cs
- FactoryGenerator.cs
- TransactedBatchContext.cs
- PtsHelper.cs
- TextParaClient.cs
- StringAttributeCollection.cs
- UiaCoreProviderApi.cs
- ConstructorNeedsTagAttribute.cs
- XsdDuration.cs
- LateBoundBitmapDecoder.cs
- InputReportEventArgs.cs
- HashSetDebugView.cs
- WindowsMenu.cs
- IntegerValidatorAttribute.cs
- MenuScrollingVisibilityConverter.cs
- GeometryCollection.cs
- MissingMemberException.cs
- ParserExtension.cs
- StringAnimationUsingKeyFrames.cs
- DecoderReplacementFallback.cs