Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / Markup / ConstructorArgumentAttribute.cs / 1 / ConstructorArgumentAttribute.cs
//------------------------------------------------------------------------
//
// Microsoft Windows Client Platform
// Copyright (C) Microsoft Corporation, 2005
//
// File: ConstructorArgumentAttribute.cs
//
// Contents: An attribute to declare that this property can be
// initialized using the classes constructor of the name
// provided.
//
// Created: 05/06/2005 chuckj
//
//-----------------------------------------------------------------------
using System;
namespace System.Windows.Markup
{
///
/// Attribute to declare that this associated property can be initialized by a
/// constructor parameter and should be ignored for serialization if the constructor
/// with an argument of the supplied name is used to construct the instance.
///
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class ConstructorArgumentAttribute : Attribute
{
///
/// Constructor for an ConstructorArgumentAttribute
///
/// Name of the constructor argument that will initialize this property
public ConstructorArgumentAttribute(string argumentName)
{
_argumentName = argumentName;
}
///
/// Name of the constructor argument that will initialize this property
///
public string ArgumentName
{
get { return _argumentName; }
}
private string _argumentName;
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathLexer.cs
- BamlRecordWriter.cs
- TextLineResult.cs
- PopupRoot.cs
- CompressionTransform.cs
- HitTestParameters3D.cs
- SelectionPattern.cs
- Base64WriteStateInfo.cs
- DriveInfo.cs
- FixedStringLookup.cs
- WebBrowsableAttribute.cs
- querybuilder.cs
- InstanceContextMode.cs
- BulletChrome.cs
- FixedSOMContainer.cs
- Queue.cs
- ScriptingJsonSerializationSection.cs
- FlowLayoutSettings.cs
- HostingEnvironmentSection.cs
- DomNameTable.cs
- TreeViewCancelEvent.cs
- TextTreeNode.cs
- DirectionalLight.cs
- MultiTrigger.cs
- ErrorRuntimeConfig.cs
- StructureChangedEventArgs.cs
- ImageInfo.cs
- UIInitializationException.cs
- UrlAuthorizationModule.cs
- XmlException.cs
- TextTreeTextElementNode.cs
- TcpConnectionPoolSettingsElement.cs
- ComponentChangingEvent.cs
- DataGridViewHeaderCell.cs
- EntityDataSourceWizardForm.cs
- TargetConverter.cs
- BufferedGraphicsContext.cs
- ItemCheckEvent.cs
- XPathDocument.cs
- ControlCollection.cs
- XsdBuilder.cs
- ResourceFallbackManager.cs
- CodeCompileUnit.cs
- AutomationPropertyInfo.cs
- IndentedWriter.cs
- TextParagraphCache.cs
- XmlQueryOutput.cs
- GuidelineSet.cs
- ContainerCodeDomSerializer.cs
- XmlSchemaIdentityConstraint.cs
- FilterException.cs
- CodeTypeReference.cs
- RequestCachePolicyConverter.cs
- Utility.cs
- DeferredReference.cs
- ResolvedKeyFrameEntry.cs
- FixedHyperLink.cs
- brushes.cs
- ProcessThread.cs
- Attachment.cs
- DiscoveryDefaults.cs
- XamlReaderConstants.cs
- ScriptResourceMapping.cs
- EntityDataSourceChangingEventArgs.cs
- InArgument.cs
- XmlSchemaGroup.cs
- MaterialGroup.cs
- Activity.cs
- QueryCacheManager.cs
- SineEase.cs
- KnownBoxes.cs
- SqlWorkflowInstanceStore.cs
- SimpleTypeResolver.cs
- NetWebProxyFinder.cs
- TransformerTypeCollection.cs
- CodeMemberField.cs
- TypeUsageBuilder.cs
- VirtualPath.cs
- FontResourceCache.cs
- ExpandCollapseProviderWrapper.cs
- DesignerSerializerAttribute.cs
- CriticalExceptions.cs
- SharedPerformanceCounter.cs
- CleanUpVirtualizedItemEventArgs.cs
- ToolStripOverflow.cs
- CompareValidator.cs
- VisualBrush.cs
- TlsnegoTokenAuthenticator.cs
- ListArgumentProvider.cs
- SpAudioStreamWrapper.cs
- WindowVisualStateTracker.cs
- ElementMarkupObject.cs
- WindowsPen.cs
- LinqDataSourceValidationException.cs
- HandleRef.cs
- QuaternionAnimationUsingKeyFrames.cs
- RulePatternOps.cs
- DiagnosticsConfigurationHandler.cs
- ThemeableAttribute.cs
- backend.cs