Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// The argument for the attribute. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ContentElement.cs
- DocumentsTrace.cs
- DataListItem.cs
- FolderLevelBuildProvider.cs
- StreamResourceInfo.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- MenuBase.cs
- WindowsFormsSynchronizationContext.cs
- NamedElement.cs
- PropertyInfoSet.cs
- DataGridViewRowStateChangedEventArgs.cs
- XmlHierarchyData.cs
- HttpRuntimeSection.cs
- HttpModulesSection.cs
- DataGridViewRowCollection.cs
- Permission.cs
- Random.cs
- DescendentsWalkerBase.cs
- Popup.cs
- XPathArrayIterator.cs
- RealizedColumnsBlock.cs
- EntitySqlQueryState.cs
- RemoteWebConfigurationHostStream.cs
- HitTestFilterBehavior.cs
- ObjectRef.cs
- KeySpline.cs
- EntityContainerEmitter.cs
- UnsafeNativeMethods.cs
- XmlReaderDelegator.cs
- XmlSchemaSimpleTypeList.cs
- MenuItemAutomationPeer.cs
- DisplayNameAttribute.cs
- CopyAction.cs
- securitycriticaldataClass.cs
- ResourcesChangeInfo.cs
- InvalidEnumArgumentException.cs
- DateTimeFormatInfo.cs
- SmtpClient.cs
- LiteralSubsegment.cs
- UnsafeNativeMethods.cs
- GridViewRowEventArgs.cs
- EncoderReplacementFallback.cs
- StrongNameKeyPair.cs
- ScrollViewerAutomationPeer.cs
- LambdaExpression.cs
- DesignerTransactionCloseEvent.cs
- ToolStripLocationCancelEventArgs.cs
- WindowsSolidBrush.cs
- FunctionUpdateCommand.cs
- CodeExpressionCollection.cs
- WasHttpHandlersInstallComponent.cs
- VisualStyleInformation.cs
- DefaultValueAttribute.cs
- MetadataStore.cs
- StateChangeEvent.cs
- HtmlControlPersistable.cs
- PieceNameHelper.cs
- VisualCollection.cs
- SystemIPGlobalProperties.cs
- LinkLabel.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- DbParameterHelper.cs
- OleDbConnectionInternal.cs
- CodeCommentStatementCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- GeometryGroup.cs
- SafeFindHandle.cs
- LineSegment.cs
- CodeMemberEvent.cs
- DashStyles.cs
- ExclusiveCanonicalizationTransform.cs
- AuthenticationManager.cs
- WebPartConnection.cs
- TextBox.cs
- ExecutedRoutedEventArgs.cs
- Message.cs
- Brushes.cs
- OracleDataReader.cs
- TypeInfo.cs
- RequestCacheEntry.cs
- PackageRelationship.cs
- CacheModeConverter.cs
- SelectedDatesCollection.cs
- complextypematerializer.cs
- TextureBrush.cs
- PrintDocument.cs
- DeferredBinaryDeserializerExtension.cs
- DocumentReferenceCollection.cs
- DNS.cs
- ObjectNavigationPropertyMapping.cs
- ContainerControl.cs
- ObsoleteAttribute.cs
- WinFormsSpinner.cs
- _ContextAwareResult.cs
- SchemaElementLookUpTableEnumerator.cs
- DataControlFieldHeaderCell.cs
- TransactionTraceIdentifier.cs
- Content.cs
- _NegoStream.cs
- RadioButtonRenderer.cs