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
- GeneralTransform3DCollection.cs
- LayoutDump.cs
- AppSecurityManager.cs
- ProtocolsConfiguration.cs
- EdmError.cs
- UIntPtr.cs
- TextParagraphProperties.cs
- EventMappingSettings.cs
- CompilerHelpers.cs
- CodeTypeParameter.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ConfigurationCollectionAttribute.cs
- SoapIgnoreAttribute.cs
- ProcessModule.cs
- LicFileLicenseProvider.cs
- DataServiceExpressionVisitor.cs
- IndexedWhereQueryOperator.cs
- CoreSwitches.cs
- ProviderMetadata.cs
- MsmqChannelFactory.cs
- HtmlInputControl.cs
- SQLByteStorage.cs
- Graphics.cs
- EventToken.cs
- SmiMetaDataProperty.cs
- Panel.cs
- Configuration.cs
- xsdvalidator.cs
- ConnectionStringsExpressionBuilder.cs
- XmlWellformedWriter.cs
- WindowsGraphics2.cs
- ConfigXmlComment.cs
- RecordsAffectedEventArgs.cs
- Crc32.cs
- DataControlField.cs
- Misc.cs
- ValidatorAttribute.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- KerberosSecurityTokenAuthenticator.cs
- SchemaImporterExtensionElementCollection.cs
- TextHidden.cs
- DataGridTable.cs
- EventBuilder.cs
- DBSchemaTable.cs
- DropDownButton.cs
- DataGridViewMethods.cs
- ObjectDisposedException.cs
- SimpleTypeResolver.cs
- BlockExpression.cs
- RandomDelayQueuedSendsAsyncResult.cs
- ErrorView.xaml.cs
- ProtectedConfiguration.cs
- EncryptedPackage.cs
- AnonymousIdentificationModule.cs
- DocobjHost.cs
- HostingEnvironment.cs
- Viewport2DVisual3D.cs
- GridViewCellAutomationPeer.cs
- ExpressionPrefixAttribute.cs
- ClientSideProviderDescription.cs
- TypeGeneratedEventArgs.cs
- DataGridHeaderBorder.cs
- ProgressBar.cs
- NativeMethods.cs
- ProfileSection.cs
- ScriptManagerProxy.cs
- ListViewItemSelectionChangedEvent.cs
- ProfilePropertyNameValidator.cs
- TypedTableBase.cs
- CacheAxisQuery.cs
- ValidationPropertyAttribute.cs
- XPathScanner.cs
- RemoteWebConfigurationHost.cs
- ImageButton.cs
- BitmapDecoder.cs
- PageBuildProvider.cs
- MasterPageBuildProvider.cs
- ContainerActivationHelper.cs
- SystemIPv4InterfaceProperties.cs
- MarkupObject.cs
- QueryPageSettingsEventArgs.cs
- DynamicRendererThreadManager.cs
- NameValueSectionHandler.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Authorization.cs
- SoapCodeExporter.cs
- SQLDouble.cs
- IconConverter.cs
- COM2IDispatchConverter.cs
- GetCertificateRequest.cs
- Italic.cs
- KnowledgeBase.cs
- ParallelTimeline.cs
- WSHttpBindingElement.cs
- SecurityCriticalDataForSet.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Stroke.cs
- ResourceDisplayNameAttribute.cs
- Binding.cs
- MultipartContentParser.cs