Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- KnownTypesHelper.cs
- StylusCaptureWithinProperty.cs
- CornerRadiusConverter.cs
- AttributeQuery.cs
- HtmlElementCollection.cs
- HostingPreferredMapPath.cs
- PaintValueEventArgs.cs
- MetadataCacheItem.cs
- ListMarkerLine.cs
- CreateUserWizard.cs
- SafeCryptoHandles.cs
- DataGridViewAccessibleObject.cs
- LayoutTable.cs
- UInt16Converter.cs
- RegisteredHiddenField.cs
- AttributeEmitter.cs
- CompiledAction.cs
- CommandConverter.cs
- SingleTagSectionHandler.cs
- CharacterHit.cs
- SendMailErrorEventArgs.cs
- LockedHandleGlyph.cs
- baseaxisquery.cs
- SurrogateChar.cs
- SqlDataSourceFilteringEventArgs.cs
- UInt32.cs
- SHA1.cs
- DesignSurfaceCollection.cs
- SplitterCancelEvent.cs
- AvTraceFormat.cs
- SafeThreadHandle.cs
- XmlnsDictionary.cs
- RichTextBoxAutomationPeer.cs
- RuleSettingsCollection.cs
- ThicknessConverter.cs
- SQLInt32.cs
- SiteMapDataSourceView.cs
- SqlConnectionStringBuilder.cs
- DataGridViewCell.cs
- ProtectedProviderSettings.cs
- ItemTypeToolStripMenuItem.cs
- CharAnimationBase.cs
- ContentPropertyAttribute.cs
- IISMapPath.cs
- HtmlListAdapter.cs
- CellPartitioner.cs
- SafeFileMappingHandle.cs
- MiniAssembly.cs
- NativeMethods.cs
- StrongBox.cs
- HierarchicalDataBoundControlAdapter.cs
- ServiceThrottlingElement.cs
- AnnotationResource.cs
- EventDescriptorCollection.cs
- WebPartDisplayModeCollection.cs
- ILGen.cs
- AudioDeviceOut.cs
- ProjectionCamera.cs
- WebPartManagerInternals.cs
- GenericAuthenticationEventArgs.cs
- MimeWriter.cs
- PenThreadPool.cs
- ThemeableAttribute.cs
- PersonalizationProvider.cs
- EventManager.cs
- CorrelationService.cs
- PageCache.cs
- DatagridviewDisplayedBandsData.cs
- TokenBasedSet.cs
- RangeBase.cs
- ProxyAttribute.cs
- BamlLocalizer.cs
- Constraint.cs
- QueryCacheKey.cs
- SqlDataSourceCommandEventArgs.cs
- AnnotationStore.cs
- MarkupProperty.cs
- ContextProperty.cs
- PointKeyFrameCollection.cs
- ColumnMapProcessor.cs
- TcpServerChannel.cs
- ToolStripPanelRow.cs
- templategroup.cs
- BlurEffect.cs
- VirtualPath.cs
- SynchronizingStream.cs
- TagPrefixCollection.cs
- SequentialActivityDesigner.cs
- RoleBoolean.cs
- SettingsAttributeDictionary.cs
- SendMessageContent.cs
- TabControl.cs
- RegexMatch.cs
- XslAstAnalyzer.cs
- DataSourceControlBuilder.cs
- XmlNavigatorFilter.cs
- StylusPointPropertyUnit.cs
- AddInEnvironment.cs
- AstNode.cs
- ComEventsInfo.cs