Code:
/ DotNET / DotNET / 8.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
- PropertyDescriptor.cs
- SelectionProcessor.cs
- PropertyInformation.cs
- SingleTagSectionHandler.cs
- TagPrefixInfo.cs
- FontUnitConverter.cs
- Paragraph.cs
- ExpressionEditorAttribute.cs
- PropertyPushdownHelper.cs
- ProfilePropertyNameValidator.cs
- RSATokenProvider.cs
- RegionInfo.cs
- MaterialGroup.cs
- ViewManager.cs
- CursorInteropHelper.cs
- CollectionBuilder.cs
- DateTimeParse.cs
- CodeEntryPointMethod.cs
- PerformanceCounterPermissionAttribute.cs
- Crypto.cs
- PathSegmentCollection.cs
- DbProviderConfigurationHandler.cs
- FixUpCollection.cs
- PathFigure.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- EntityExpressionVisitor.cs
- MemoryStream.cs
- WindowsIPAddress.cs
- UserPreferenceChangedEventArgs.cs
- JavascriptXmlWriterWrapper.cs
- RegexMatch.cs
- DbConnectionInternal.cs
- Classification.cs
- RowUpdatedEventArgs.cs
- TextEndOfLine.cs
- ToolStripEditorManager.cs
- HtmlWindowCollection.cs
- SqlExpander.cs
- ModuleBuilder.cs
- DataViewManagerListItemTypeDescriptor.cs
- FlowDocumentPaginator.cs
- ellipse.cs
- MetadataProperty.cs
- String.cs
- ProfileService.cs
- ConditionedDesigner.cs
- MouseWheelEventArgs.cs
- DbConnectionFactory.cs
- DataGridViewCellPaintingEventArgs.cs
- DoubleStorage.cs
- DataGridDetailsPresenter.cs
- OleDbReferenceCollection.cs
- WindowCollection.cs
- XmlElementAttribute.cs
- TreeViewImageKeyConverter.cs
- ListBoxChrome.cs
- DataGridPageChangedEventArgs.cs
- Application.cs
- HttpMethodConstraint.cs
- DropDownList.cs
- UserValidatedEventArgs.cs
- FixedDocumentSequencePaginator.cs
- TextBoxBaseDesigner.cs
- XmlLangPropertyAttribute.cs
- ToolBarButtonClickEvent.cs
- CodeDomLoader.cs
- RegexBoyerMoore.cs
- SQLInt64Storage.cs
- CompilationSection.cs
- AdornerPresentationContext.cs
- SubstitutionList.cs
- PcmConverter.cs
- BinHexEncoder.cs
- HttpListener.cs
- BitmapData.cs
- ExcCanonicalXml.cs
- CollectionChangedEventManager.cs
- DataViewManagerListItemTypeDescriptor.cs
- Operators.cs
- HotSpotCollection.cs
- MobileControlPersister.cs
- DocumentGridPage.cs
- FontUnit.cs
- RegexWriter.cs
- InitialServerConnectionReader.cs
- ToolStripHighContrastRenderer.cs
- NativeObjectSecurity.cs
- LinearGradientBrush.cs
- XmlMembersMapping.cs
- DataTemplate.cs
- OdbcDataAdapter.cs
- InvalidateEvent.cs
- QueueProcessor.cs
- HttpListenerException.cs
- DocumentSequenceHighlightLayer.cs
- BitFlagsGenerator.cs
- CopyNodeSetAction.cs
- BaseCodeDomTreeGenerator.cs
- ResourceCategoryAttribute.cs
- FSWPathEditor.cs