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
- MsmqIntegrationProcessProtocolHandler.cs
- Pen.cs
- Compiler.cs
- CultureInfoConverter.cs
- CodeArrayCreateExpression.cs
- SvcFileManager.cs
- DbConnectionFactory.cs
- DataGridAddNewRow.cs
- SqlError.cs
- WebServiceEnumData.cs
- Int32EqualityComparer.cs
- SEHException.cs
- SoapConverter.cs
- HtmlMeta.cs
- SecurityContextTokenValidationException.cs
- SizeConverter.cs
- NullReferenceException.cs
- FlowDocumentFormatter.cs
- ComPlusInstanceContextInitializer.cs
- XmlStreamNodeWriter.cs
- WebServiceMethodData.cs
- XdrBuilder.cs
- ReplyChannelBinder.cs
- PipelineDeploymentState.cs
- ContainerVisual.cs
- TextBlockAutomationPeer.cs
- CodeTypeOfExpression.cs
- DataSourceProvider.cs
- RoleManagerEventArgs.cs
- XsltArgumentList.cs
- AddressAlreadyInUseException.cs
- FeatureSupport.cs
- SortKey.cs
- HtmlHistory.cs
- XPathScanner.cs
- TreeNodeBinding.cs
- DesignerLabelAdapter.cs
- CfgArc.cs
- CacheRequest.cs
- RsaEndpointIdentity.cs
- ApplicationDirectoryMembershipCondition.cs
- DataGridViewMethods.cs
- XmlElementAttribute.cs
- SqlOuterApplyReducer.cs
- _NegoState.cs
- ColorConvertedBitmap.cs
- CookielessHelper.cs
- DoWhile.cs
- StorageTypeMapping.cs
- XmlSchemaSimpleContent.cs
- ViewPort3D.cs
- FunctionOverloadResolver.cs
- MarkupProperty.cs
- BookmarkScopeInfo.cs
- HttpListenerRequestUriBuilder.cs
- MaskedTextBoxDesigner.cs
- HtmlButton.cs
- PeerCollaborationPermission.cs
- RegexGroupCollection.cs
- TransactionManager.cs
- PartialArray.cs
- ToolStrip.cs
- Compilation.cs
- HtmlTitle.cs
- StorageEndPropertyMapping.cs
- XmlNotation.cs
- SecurityKeyType.cs
- DBParameter.cs
- ParserContext.cs
- ResourceReader.cs
- FileRecordSequenceHelper.cs
- SHA384.cs
- EmbossBitmapEffect.cs
- SiteMapNodeCollection.cs
- MouseGesture.cs
- ScopeElement.cs
- AspNetHostingPermission.cs
- AuthenticationConfig.cs
- WebPartActionVerb.cs
- ScopelessEnumAttribute.cs
- XmlSchemaComplexType.cs
- TextServicesPropertyRanges.cs
- RemoteEndpointMessageProperty.cs
- KeyedQueue.cs
- ZipIORawDataFileBlock.cs
- serverconfig.cs
- SizeKeyFrameCollection.cs
- BinaryParser.cs
- ClientWindowsAuthenticationMembershipProvider.cs
- _HeaderInfoTable.cs
- ProgressBarAutomationPeer.cs
- SessionEndedEventArgs.cs
- WindowInteractionStateTracker.cs
- OrthographicCamera.cs
- ScriptRef.cs
- ApplicationServiceManager.cs
- ExpressionBindingCollection.cs
- DataServiceBuildProvider.cs
- DataRelationCollection.cs
- NativeMethods.cs