Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EditBehavior.cs
- DynamicDataRouteHandler.cs
- ColorTranslator.cs
- WrappingXamlSchemaContext.cs
- MemberMaps.cs
- TraceFilter.cs
- FtpRequestCacheValidator.cs
- ListCommandEventArgs.cs
- DodSequenceMerge.cs
- PathFigureCollectionConverter.cs
- RequestCachePolicyConverter.cs
- NetCodeGroup.cs
- GC.cs
- Container.cs
- SlipBehavior.cs
- PerformanceCounter.cs
- WebPartMenu.cs
- BaseResourcesBuildProvider.cs
- ApplicationContext.cs
- SharedConnectionWorkflowTransactionService.cs
- HttpResponseBase.cs
- TagNameToTypeMapper.cs
- RadioButton.cs
- JobDuplex.cs
- EventData.cs
- WebPartUserCapability.cs
- ProgressPage.cs
- Thumb.cs
- CardSpaceSelector.cs
- EncoderParameters.cs
- DbConnectionStringBuilder.cs
- ServiceAuthorizationElement.cs
- TrackBar.cs
- ViewBase.cs
- IxmlLineInfo.cs
- FieldToken.cs
- XpsSerializationManagerAsync.cs
- ClipboardData.cs
- DecryptRequest.cs
- WebHttpBindingElement.cs
- ManagedFilter.cs
- StatusBarPanel.cs
- FileDataSourceCache.cs
- OptimizerPatterns.cs
- ToolStripOverflowButton.cs
- URLAttribute.cs
- MimeMultiPart.cs
- DataObject.cs
- PointAnimationUsingKeyFrames.cs
- ErrorWebPart.cs
- ObjectList.cs
- SystemInfo.cs
- RoutedEventConverter.cs
- ProcessHostConfigUtils.cs
- COM2ComponentEditor.cs
- SQLBytesStorage.cs
- PropertyRecord.cs
- SoapFormatter.cs
- AdornerLayer.cs
- HtmlInputRadioButton.cs
- ZipFileInfoCollection.cs
- HttpProtocolImporter.cs
- ContractHandle.cs
- DescendantOverDescendantQuery.cs
- DirectionalLight.cs
- RestHandler.cs
- IgnoreSectionHandler.cs
- BinaryUtilClasses.cs
- ProcessInfo.cs
- TrackPointCollection.cs
- FileVersionInfo.cs
- _UriTypeConverter.cs
- XmlArrayAttribute.cs
- BindingCompleteEventArgs.cs
- QilUnary.cs
- ProcessInputEventArgs.cs
- ScriptDescriptor.cs
- FolderLevelBuildProvider.cs
- StorageInfo.cs
- UnknownBitmapEncoder.cs
- DisableDpiAwarenessAttribute.cs
- Latin1Encoding.cs
- SpeechUI.cs
- WmfPlaceableFileHeader.cs
- AbstractDataSvcMapFileLoader.cs
- DBSchemaTable.cs
- WebPartZoneBase.cs
- ApplicationManager.cs
- XmlStringTable.cs
- SqlProviderManifest.cs
- CodeExpressionRuleDeclaration.cs
- SeekStoryboard.cs
- UserControlCodeDomTreeGenerator.cs
- ConditionCollection.cs
- ThemeDirectoryCompiler.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- EllipseGeometry.cs
- _NegoStream.cs
- CodeMethodInvokeExpression.cs
- DataRelationPropertyDescriptor.cs