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
- ConvertBinder.cs
- RequestResizeEvent.cs
- RowToParametersTransformer.cs
- HistoryEventArgs.cs
- XslTransformFileEditor.cs
- DataRowView.cs
- ToolboxItemLoader.cs
- Rfc2898DeriveBytes.cs
- filewebresponse.cs
- AnnotationAuthorChangedEventArgs.cs
- DataBoundControlAdapter.cs
- Rfc2898DeriveBytes.cs
- AdornedElementPlaceholder.cs
- TemplateControlBuildProvider.cs
- FontEmbeddingManager.cs
- ImageClickEventArgs.cs
- ProgressBarAutomationPeer.cs
- JournalEntryListConverter.cs
- Brush.cs
- DirectoryObjectSecurity.cs
- DocumentApplication.cs
- DetailsViewRowCollection.cs
- StringSorter.cs
- PointLight.cs
- ObjectSet.cs
- WebPartDisplayModeCancelEventArgs.cs
- KeyNameIdentifierClause.cs
- NotifyParentPropertyAttribute.cs
- UnsafeNativeMethods.cs
- _ServiceNameStore.cs
- ConvertersCollection.cs
- DoubleConverter.cs
- HitTestFilterBehavior.cs
- AttributeCollection.cs
- Subset.cs
- columnmapkeybuilder.cs
- webproxy.cs
- ResourceCategoryAttribute.cs
- WindowsScroll.cs
- ImportCatalogPart.cs
- SqlCommandBuilder.cs
- XmlAttributeAttribute.cs
- QilXmlReader.cs
- SyndicationCategory.cs
- ObjectAnimationBase.cs
- Image.cs
- LabelEditEvent.cs
- SetState.cs
- TextElementEnumerator.cs
- TypeReference.cs
- WindowsFormsSectionHandler.cs
- UriPrefixTable.cs
- ByteAnimationUsingKeyFrames.cs
- ClearTypeHintValidation.cs
- EmptyReadOnlyDictionaryInternal.cs
- CompiledIdentityConstraint.cs
- StringUtil.cs
- WebPartTransformerCollection.cs
- CellParaClient.cs
- BamlStream.cs
- StretchValidation.cs
- SqlAggregateChecker.cs
- BinaryReader.cs
- ping.cs
- PropertyEmitterBase.cs
- MediaScriptCommandRoutedEventArgs.cs
- ToolTipAutomationPeer.cs
- InstanceValue.cs
- TiffBitmapDecoder.cs
- TokenBasedSetEnumerator.cs
- SignalGate.cs
- AppDomainUnloadedException.cs
- HyperLink.cs
- ReadOnlyHierarchicalDataSource.cs
- DesignerTextWriter.cs
- UnionExpr.cs
- XmlTypeMapping.cs
- MessageBox.cs
- LogStore.cs
- StorageBasedPackageProperties.cs
- HttpCookie.cs
- ColumnHeaderConverter.cs
- ProxySimple.cs
- MultiSelector.cs
- TypefaceCollection.cs
- ListViewAutomationPeer.cs
- TreeNodeBindingDepthConverter.cs
- Stroke.cs
- AsymmetricSignatureDeformatter.cs
- DataListItemCollection.cs
- UncommonField.cs
- SmiMetaData.cs
- SimpleBitVector32.cs
- DesignerSelectionListAdapter.cs
- Expander.cs
- CipherData.cs
- SynchronizationContext.cs
- DataMisalignedException.cs
- GestureRecognitionResult.cs
- CodeRemoveEventStatement.cs