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
- FactoryGenerator.cs
- DotExpr.cs
- DataGridViewCellPaintingEventArgs.cs
- RenderContext.cs
- HTMLTextWriter.cs
- RequiredFieldValidator.cs
- ConfigurationProviderException.cs
- TaiwanLunisolarCalendar.cs
- ListViewDeletedEventArgs.cs
- SelectorItemAutomationPeer.cs
- ImageCodecInfo.cs
- AssemblyHash.cs
- Underline.cs
- SamlAuthenticationClaimResource.cs
- EntityFunctions.cs
- ParsedRoute.cs
- XmlDocumentFragment.cs
- SQLChars.cs
- DbFunctionCommandTree.cs
- _TransmitFileOverlappedAsyncResult.cs
- TraceContextRecord.cs
- TabletDeviceInfo.cs
- ScrollItemPattern.cs
- TagMapInfo.cs
- PerspectiveCamera.cs
- SBCSCodePageEncoding.cs
- HttpModuleAction.cs
- IconConverter.cs
- Polygon.cs
- LiteralControl.cs
- DataGridItemCollection.cs
- ServiceBehaviorElementCollection.cs
- ManualResetEventSlim.cs
- XPathNodeList.cs
- DataColumnChangeEvent.cs
- TextEditorParagraphs.cs
- StylusTip.cs
- ToolStripPanelCell.cs
- WebResourceAttribute.cs
- SqlNodeTypeOperators.cs
- TimersDescriptionAttribute.cs
- ParseHttpDate.cs
- Accessible.cs
- TypeNameParser.cs
- WindowsImpersonationContext.cs
- FontStyle.cs
- WinEventHandler.cs
- PhysicalFontFamily.cs
- MtomMessageEncodingBindingElement.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- webeventbuffer.cs
- IconConverter.cs
- DataGridBoolColumn.cs
- PartialList.cs
- DBSchemaTable.cs
- SystemParameters.cs
- ObjectDataSourceDesigner.cs
- MatrixKeyFrameCollection.cs
- GeometryConverter.cs
- BevelBitmapEffect.cs
- XmlObjectSerializerWriteContextComplex.cs
- BinaryNode.cs
- MemoryFailPoint.cs
- SystemEvents.cs
- XmlTextAttribute.cs
- OptimizedTemplateContentHelper.cs
- ObjectDataSource.cs
- DocumentationServerProtocol.cs
- DataRow.cs
- IndependentAnimationStorage.cs
- TextTreeText.cs
- SystemIPAddressInformation.cs
- ImageButton.cs
- CancelEventArgs.cs
- FormsAuthenticationEventArgs.cs
- UnsafeNativeMethods.cs
- TabRenderer.cs
- ProfileWorkflowElement.cs
- BasePattern.cs
- TimeSpanStorage.cs
- AttachedPropertyMethodSelector.cs
- IPPacketInformation.cs
- Tag.cs
- WindowsClientElement.cs
- SrgsOneOf.cs
- WindowCollection.cs
- WorkflowLayouts.cs
- WindowsMenu.cs
- EntityViewGenerationConstants.cs
- SupportingTokenProviderSpecification.cs
- ViewCellSlot.cs
- DictionarySectionHandler.cs
- BitHelper.cs
- LocalizableAttribute.cs
- EnumMember.cs
- CapabilitiesState.cs
- FutureFactory.cs
- InternalRelationshipCollection.cs
- XmlNodeReader.cs
- PageRequestManager.cs