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
- Operand.cs
- UserControl.cs
- FontFamilyConverter.cs
- ControlAdapter.cs
- SiteMapSection.cs
- HashSetEqualityComparer.cs
- ProtocolsConfigurationHandler.cs
- DataGridCaption.cs
- DataObject.cs
- PnrpPermission.cs
- SvcMapFile.cs
- Odbc32.cs
- TableFieldsEditor.cs
- Column.cs
- MappingSource.cs
- X509Utils.cs
- MergeFilterQuery.cs
- ResourceDictionary.cs
- ConfigXmlCDataSection.cs
- ProfileParameter.cs
- CheckBoxDesigner.cs
- InstallerTypeAttribute.cs
- Calendar.cs
- ProxyWebPartConnectionCollection.cs
- IDispatchConstantAttribute.cs
- PeerApplicationLaunchInfo.cs
- SqlDataReaderSmi.cs
- TypeDescriptor.cs
- FilterException.cs
- XmlLinkedNode.cs
- InputScopeManager.cs
- FormViewDeleteEventArgs.cs
- localization.cs
- SortDescription.cs
- StructuredCompositeActivityDesigner.cs
- Literal.cs
- EventProvider.cs
- FontFamily.cs
- OutputScope.cs
- GeometryCollection.cs
- TreeIterator.cs
- DirectoryRedirect.cs
- PartBasedPackageProperties.cs
- TransformCollection.cs
- CacheRequest.cs
- CustomAttribute.cs
- TagMapCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- DocumentReferenceCollection.cs
- TdsRecordBufferSetter.cs
- SafeSystemMetrics.cs
- MultilineStringConverter.cs
- ImageConverter.cs
- Int32Rect.cs
- DateTime.cs
- DiagnosticStrings.cs
- ConfigurationSectionGroup.cs
- X509Certificate.cs
- DataDocumentXPathNavigator.cs
- TabRenderer.cs
- TreeBuilder.cs
- SystemIcons.cs
- RadioButtonBaseAdapter.cs
- BitmapEffectInputData.cs
- ObjectConverter.cs
- SafeFindHandle.cs
- LazyTextWriterCreator.cs
- MergePropertyDescriptor.cs
- DecoderFallback.cs
- Drawing.cs
- CloseSequence.cs
- ExpressionEditorAttribute.cs
- MediaTimeline.cs
- HiddenFieldDesigner.cs
- EditingScope.cs
- RichTextBoxAutomationPeer.cs
- ControlEvent.cs
- EngineSiteSapi.cs
- IndexedGlyphRun.cs
- FeedUtils.cs
- ThicknessAnimationUsingKeyFrames.cs
- InvalidEnumArgumentException.cs
- StructuredTypeInfo.cs
- AutomationProperty.cs
- ThrowHelper.cs
- MILUtilities.cs
- PointConverter.cs
- PathTooLongException.cs
- RenameRuleObjectDialog.cs
- ServicePrincipalNameElement.cs
- RangeValueProviderWrapper.cs
- Rect3D.cs
- Stylesheet.cs
- CheckBoxField.cs
- GuidTagList.cs
- ArgumentDirectionHelper.cs
- AssemblyInfo.cs
- PointIndependentAnimationStorage.cs
- SQLMembershipProvider.cs
- ReturnValue.cs