Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / CodeDOM / CodeAttributeArgument.cs / 1305376 / 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;
///
///
/// Represents an argument for use in a custom attribute declaration.
///
///
[
ClassInterface(ClassInterfaceType.AutoDispatch),
ComVisible(true),
Serializable,
]
public class CodeAttributeArgument {
private string name;
private CodeExpression value;
///
///
/// Initializes a new instance of .
///
///
public CodeAttributeArgument() {
}
///
///
/// Initializes a new instance of using the specified value.
///
///
public CodeAttributeArgument(CodeExpression value) {
Value = value;
}
///
///
/// Initializes a new instance of using the specified name and
/// value.
///
///
public CodeAttributeArgument(string name, CodeExpression value) {
Name = name;
Value = value;
}
///
///
/// The name of the attribute.
///
///
public string Name {
get {
return (name == null) ? string.Empty : name;
}
set {
name = value;
}
}
///
///
/// The argument for the attribute.
///
///
public CodeExpression Value {
get {
return value;
}
set {
this.value = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EmissiveMaterial.cs
- ZipIOCentralDirectoryBlock.cs
- AudioException.cs
- BlobPersonalizationState.cs
- BitmapEffectDrawingContent.cs
- EvidenceTypeDescriptor.cs
- Funcletizer.cs
- OneOfTypeConst.cs
- XsdSchemaFileEditor.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- DictationGrammar.cs
- WebPartEditorApplyVerb.cs
- Trace.cs
- RenderingBiasValidation.cs
- NamedElement.cs
- StaticFileHandler.cs
- HMACSHA1.cs
- RelationshipNavigation.cs
- ContentIterators.cs
- XmlNodeComparer.cs
- EndpointConfigContainer.cs
- AutomationPatternInfo.cs
- ProfileProvider.cs
- SqlDataRecord.cs
- TransportSecurityProtocolFactory.cs
- TranslateTransform3D.cs
- SchemaCollectionPreprocessor.cs
- selecteditemcollection.cs
- XmlTextReader.cs
- FastPropertyAccessor.cs
- AnimationClock.cs
- EFTableProvider.cs
- DesignerResources.cs
- Pipe.cs
- WindowsStatusBar.cs
- PostBackOptions.cs
- NTAccount.cs
- ExecutionEngineException.cs
- ColorContext.cs
- DebugControllerThread.cs
- JavaScriptString.cs
- WrappedIUnknown.cs
- Helpers.cs
- InternalCache.cs
- UnsafeNetInfoNativeMethods.cs
- InternalConfigRoot.cs
- QilTypeChecker.cs
- DataGridViewButtonColumn.cs
- TypeSystemProvider.cs
- WindowsFormsHelpers.cs
- OLEDB_Enum.cs
- ProfessionalColors.cs
- DocComment.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- WindowProviderWrapper.cs
- HtmlGenericControl.cs
- ObjectKeyFrameCollection.cs
- ViewPort3D.cs
- RegexNode.cs
- TCEAdapterGenerator.cs
- ForeignKeyConstraint.cs
- TransformGroup.cs
- OletxTransactionFormatter.cs
- TableLayoutPanelResizeGlyph.cs
- CriticalHandle.cs
- ProcessHostFactoryHelper.cs
- DateTimeConverter.cs
- HitTestParameters.cs
- SafeMILHandleMemoryPressure.cs
- ReachPageContentCollectionSerializerAsync.cs
- BoundColumn.cs
- TabControlAutomationPeer.cs
- PluralizationService.cs
- DataTableClearEvent.cs
- ButtonStandardAdapter.cs
- HtmlInputPassword.cs
- MimeImporter.cs
- MergePropertyDescriptor.cs
- FastEncoderWindow.cs
- StandardCommands.cs
- CacheHelper.cs
- TypeConverterAttribute.cs
- Ppl.cs
- InstanceOwnerException.cs
- ListComponentEditor.cs
- XmlConverter.cs
- SubtreeProcessor.cs
- PrintPageEvent.cs
- ConvertEvent.cs
- ComponentResourceKeyConverter.cs
- DbDeleteCommandTree.cs
- ReadOnlyCollection.cs
- HttpListenerPrefixCollection.cs
- _RequestLifetimeSetter.cs
- Timer.cs
- SimpleTextLine.cs
- SizeChangedEventArgs.cs
- XsltArgumentList.cs
- LayoutDump.cs
- DurationConverter.cs