Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Misc.cs
- TypePropertyEditor.cs
- DataSpaceManager.cs
- InternalConfigConfigurationFactory.cs
- EmbossBitmapEffect.cs
- BamlRecordWriter.cs
- metadatamappinghashervisitor.cs
- StatusStrip.cs
- RepeatBehaviorConverter.cs
- Line.cs
- DataGridViewComboBoxColumn.cs
- RenderOptions.cs
- CommonProperties.cs
- DataGridViewCell.cs
- Vector3DCollection.cs
- ToolstripProfessionalRenderer.cs
- FilterElement.cs
- QilFunction.cs
- XmlProcessingInstruction.cs
- DoubleUtil.cs
- AddInProcess.cs
- RegexMatch.cs
- HtmlMeta.cs
- MulticastOption.cs
- ASCIIEncoding.cs
- CompoundFileDeflateTransform.cs
- TextTrailingWordEllipsis.cs
- TraceLog.cs
- PenLineCapValidation.cs
- UDPClient.cs
- UpdateCommand.cs
- ToolboxItemAttribute.cs
- StructuredTypeInfo.cs
- AmbiguousMatchException.cs
- PageHandlerFactory.cs
- TimersDescriptionAttribute.cs
- CancelEventArgs.cs
- ObjectTokenCategory.cs
- CssStyleCollection.cs
- ShadowGlyph.cs
- XPathSelectionIterator.cs
- PageWrapper.cs
- ListChunk.cs
- ResourceDescriptionAttribute.cs
- ActivationServices.cs
- OuterGlowBitmapEffect.cs
- Visual.cs
- ElapsedEventArgs.cs
- MessagingActivityHelper.cs
- OrderByQueryOptionExpression.cs
- PackagePartCollection.cs
- EmbossBitmapEffect.cs
- NativeMethodsOther.cs
- RootProfilePropertySettingsCollection.cs
- TextBoxAutomationPeer.cs
- Utilities.cs
- ToolStripDropDownClosingEventArgs.cs
- ActivityBindForm.Designer.cs
- MachineKeySection.cs
- ProjectionPath.cs
- SafeThreadHandle.cs
- QueryOptionExpression.cs
- DataGridViewCellStyle.cs
- HashHelper.cs
- CryptoHelper.cs
- Fault.cs
- XmlSchemaAnnotated.cs
- FieldNameLookup.cs
- _NetworkingPerfCounters.cs
- ConnectionManagementElementCollection.cs
- ClockController.cs
- ScriptingSectionGroup.cs
- ListDictionary.cs
- UpDownEvent.cs
- FixedPageProcessor.cs
- StyleBamlTreeBuilder.cs
- WindowsImpersonationContext.cs
- Serializer.cs
- ConnectionsZone.cs
- FixedSOMContainer.cs
- ContentIterators.cs
- HandlerWithFactory.cs
- ImageMap.cs
- IIS7WorkerRequest.cs
- CapabilitiesRule.cs
- NestedContainer.cs
- BuildManager.cs
- SqlDelegatedTransaction.cs
- Point3DIndependentAnimationStorage.cs
- FixedSOMPage.cs
- SqlTopReducer.cs
- Msec.cs
- LinqDataSourceStatusEventArgs.cs
- FaultDesigner.cs
- Error.cs
- VisualStyleElement.cs
- HotSpotCollection.cs
- SqlVersion.cs
- ASCIIEncoding.cs
- tooltip.cs