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
- XhtmlBasicValidatorAdapter.cs
- _emptywebproxy.cs
- TextParaClient.cs
- CallbackWrapper.cs
- WebPartMenu.cs
- RotateTransform3D.cs
- CorePropertiesFilter.cs
- UInt64.cs
- SplitterPanel.cs
- AnnotationHighlightLayer.cs
- ThreadStartException.cs
- InheritanceContextHelper.cs
- TaskFileService.cs
- DefaultShape.cs
- DataGridViewTopLeftHeaderCell.cs
- PanelStyle.cs
- AssociationTypeEmitter.cs
- DesignTimeParseData.cs
- WebControlsSection.cs
- EdmError.cs
- EntityDataSourceSelectedEventArgs.cs
- MenuCommand.cs
- SiteMapDataSourceDesigner.cs
- unsafenativemethodsother.cs
- SqlProvider.cs
- OutgoingWebRequestContext.cs
- FileInfo.cs
- WebEvents.cs
- InlineObject.cs
- TextMetrics.cs
- WindowsTreeView.cs
- WebPartTracker.cs
- DecimalFormatter.cs
- ParentQuery.cs
- PowerModeChangedEventArgs.cs
- WriteTimeStream.cs
- RemotingServices.cs
- CapabilitiesPattern.cs
- ListSourceHelper.cs
- RbTree.cs
- NumberFormatter.cs
- RadioButtonPopupAdapter.cs
- SqlTopReducer.cs
- CompositeDataBoundControl.cs
- RequestUriProcessor.cs
- BinaryMethodMessage.cs
- ToolStripSeparator.cs
- WebPartVerbCollection.cs
- ObjectContextServiceProvider.cs
- InstanceCollisionException.cs
- PropertyGroupDescription.cs
- OleDragDropHandler.cs
- UnsafeNativeMethods.cs
- BaseTemplateParser.cs
- MaterialCollection.cs
- TdsParserStaticMethods.cs
- DiffuseMaterial.cs
- RuntimeConfig.cs
- JsonSerializer.cs
- ValidatorCompatibilityHelper.cs
- DataGridViewSelectedCellCollection.cs
- UserControl.cs
- Object.cs
- Ops.cs
- CodeActivityContext.cs
- MemberAccessException.cs
- RegexTree.cs
- StylusEditingBehavior.cs
- BinHexDecoder.cs
- WebPartVerbsEventArgs.cs
- MappingModelBuildProvider.cs
- GeneratedCodeAttribute.cs
- counter.cs
- AVElementHelper.cs
- ReachFixedDocumentSerializer.cs
- DataErrorValidationRule.cs
- WebConfigurationManager.cs
- MemberRelationshipService.cs
- InstalledFontCollection.cs
- MemberNameValidator.cs
- IdentityHolder.cs
- PropertyValueChangedEvent.cs
- CorrelationTokenTypeConvertor.cs
- SessionPageStateSection.cs
- EncoderReplacementFallback.cs
- AdornedElementPlaceholder.cs
- CodeLinePragma.cs
- HtmlSelect.cs
- SAPIEngineTypes.cs
- ActiveXSite.cs
- RectConverter.cs
- StringValidatorAttribute.cs
- ForeignKeyConstraint.cs
- ObjectSecurityT.cs
- SmtpCommands.cs
- GridToolTip.cs
- ClaimComparer.cs
- CodeParameterDeclarationExpression.cs
- QueryCacheEntry.cs
- WsatServiceAddress.cs