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
- UnionExpr.cs
- storagemappingitemcollection.viewdictionary.cs
- SqlGenericUtil.cs
- SqlDataSourceStatusEventArgs.cs
- StoreAnnotationsMap.cs
- SystemResourceKey.cs
- RelationshipSet.cs
- KeyValuePair.cs
- XXXOnTypeBuilderInstantiation.cs
- FixedSOMTableCell.cs
- ResXResourceSet.cs
- PropertyReferenceExtension.cs
- TextWriter.cs
- TextEditorSpelling.cs
- WsdlExporter.cs
- DataFormat.cs
- XmlEncApr2001.cs
- Column.cs
- XmlSerializerFactory.cs
- IntSumAggregationOperator.cs
- SizeFConverter.cs
- LinqDataView.cs
- ListView.cs
- TreeView.cs
- LayoutUtils.cs
- MailHeaderInfo.cs
- metadatamappinghashervisitor.cs
- PathSegmentCollection.cs
- TextSimpleMarkerProperties.cs
- XPathScanner.cs
- SpeechUI.cs
- GACIdentityPermission.cs
- GroupQuery.cs
- StringArrayEditor.cs
- wpf-etw.cs
- FieldBuilder.cs
- NumericUpDown.cs
- DbConnectionPoolGroupProviderInfo.cs
- EventLogPermissionAttribute.cs
- FileUpload.cs
- FontSourceCollection.cs
- ScriptIgnoreAttribute.cs
- TextTabProperties.cs
- GeneralTransform3DGroup.cs
- DataGridViewRowEventArgs.cs
- RequestCacheEntry.cs
- HttpServerChannel.cs
- TypeSystemProvider.cs
- MailSettingsSection.cs
- UserMapPath.cs
- PresentationSource.cs
- XMLSchema.cs
- RenderDataDrawingContext.cs
- ResourceReferenceExpression.cs
- SetUserLanguageRequest.cs
- UnsafeNativeMethods.cs
- HtmlAnchor.cs
- EntityDataSourceDesignerHelper.cs
- ServiceDebugBehavior.cs
- CodeDirectiveCollection.cs
- AdapterUtil.cs
- LinkClickEvent.cs
- ApplicationServiceHelper.cs
- oledbconnectionstring.cs
- TemplateManager.cs
- BmpBitmapDecoder.cs
- While.cs
- Int16.cs
- TextClipboardData.cs
- OdbcConnectionFactory.cs
- TreeChangeInfo.cs
- ProtocolsConfiguration.cs
- TimeZone.cs
- Message.cs
- XamlClipboardData.cs
- XmlTypeMapping.cs
- IdentityModelDictionary.cs
- EntityDataSourceChangingEventArgs.cs
- SyntaxCheck.cs
- ProfileServiceManager.cs
- Logging.cs
- HttpProfileGroupBase.cs
- CodeTypeReferenceExpression.cs
- CheckBoxStandardAdapter.cs
- ZoomComboBox.cs
- ToolTip.cs
- ComplusTypeValidator.cs
- ViewEvent.cs
- TableAdapterManagerGenerator.cs
- VScrollProperties.cs
- ExceptionRoutedEventArgs.cs
- ObjectDataSourceSelectingEventArgs.cs
- NotImplementedException.cs
- DeferredElementTreeState.cs
- HatchBrush.cs
- BooleanExpr.cs
- UnwrappedTypesXmlSerializerManager.cs
- LookupBindingPropertiesAttribute.cs
- WebPartAuthorizationEventArgs.cs
- GlobalizationSection.cs