Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1305376 / CodeAttributeArgument.cs
//------------------------------------------------------------------------------ //// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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. /// ///// // //----------------------------------------------------------------------------- namespace System.CodeDom { using System.Diagnostics; using System; using Microsoft.Win32; using System.Collections; using System.Runtime.InteropServices; ///[....] // Copyright (c) Microsoft Corporation. All rights reserved. ///// [ 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
- CodeMemberMethod.cs
- XmlBinaryReaderSession.cs
- Debug.cs
- HierarchicalDataSourceDesigner.cs
- PointConverter.cs
- TemplateBindingExtensionConverter.cs
- PeerNameRegistration.cs
- QuaternionRotation3D.cs
- ChannelTracker.cs
- LinqDataSourceValidationException.cs
- FixedSOMElement.cs
- URL.cs
- CaseKeyBox.ViewModel.cs
- PerformanceCounter.cs
- TimeSpanParse.cs
- _Semaphore.cs
- SimpleTypesSurrogate.cs
- TextBreakpoint.cs
- TableLayoutPanel.cs
- WindowsStartMenu.cs
- ObjectQuery_EntitySqlExtensions.cs
- WasHostedComPlusFactory.cs
- ImageCodecInfoPrivate.cs
- DurationConverter.cs
- SiteMapPath.cs
- FileAuthorizationModule.cs
- PropertyInfo.cs
- PointHitTestResult.cs
- OleDbFactory.cs
- WbemProvider.cs
- Rfc2898DeriveBytes.cs
- DataColumnChangeEvent.cs
- DataGridViewRowEventArgs.cs
- CorrelationManager.cs
- ProfileService.cs
- PixelFormat.cs
- SafeLibraryHandle.cs
- ComponentSerializationService.cs
- RoutedUICommand.cs
- SoapAttributeAttribute.cs
- RegistrationServices.cs
- ClientScriptManager.cs
- IDispatchConstantAttribute.cs
- DocumentSequenceHighlightLayer.cs
- SqlErrorCollection.cs
- CompoundFileStreamReference.cs
- TextProviderWrapper.cs
- Processor.cs
- XmlBinaryReaderSession.cs
- FileDialog.cs
- ExtendedPropertiesHandler.cs
- XmlHierarchicalEnumerable.cs
- RotateTransform.cs
- XamlTemplateSerializer.cs
- EditingCommands.cs
- SelectionItemPattern.cs
- InheritanceContextChangedEventManager.cs
- QuaternionKeyFrameCollection.cs
- AudioFormatConverter.cs
- MsmqChannelListenerBase.cs
- dataprotectionpermission.cs
- XmlSerializer.cs
- WindowsToolbarItemAsMenuItem.cs
- WebHttpBindingCollectionElement.cs
- versioninfo.cs
- DBParameter.cs
- ToolStripDropDownClosingEventArgs.cs
- ContractMapping.cs
- RemoteWebConfigurationHostServer.cs
- ClientConfigPaths.cs
- ObjectDataProvider.cs
- XmlSchemaChoice.cs
- TextRange.cs
- BindingManagerDataErrorEventArgs.cs
- GrammarBuilderPhrase.cs
- ZipIORawDataFileBlock.cs
- StylusLogic.cs
- ArgumentValue.cs
- ScriptingJsonSerializationSection.cs
- GB18030Encoding.cs
- StylusShape.cs
- TypeExtensionConverter.cs
- SimpleHandlerFactory.cs
- HttpModuleActionCollection.cs
- TransactionScope.cs
- Menu.cs
- SystemNetworkInterface.cs
- WorkflowMessageEventHandler.cs
- SolidBrush.cs
- DataSetMappper.cs
- AuthStoreRoleProvider.cs
- SafeCryptoHandles.cs
- DbSetClause.cs
- MetaModel.cs
- HitTestResult.cs
- EventLogSession.cs
- ResourceExpressionEditorSheet.cs
- TypeBuilder.cs
- FloaterBaseParaClient.cs
- HttpModuleCollection.cs