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
- CodeMemberEvent.cs
- MetadataItemEmitter.cs
- SqlDataSourceStatusEventArgs.cs
- DesignerVerbToolStripMenuItem.cs
- FloatMinMaxAggregationOperator.cs
- DictionaryTraceRecord.cs
- BoundingRectTracker.cs
- ValueConversionAttribute.cs
- SingleResultAttribute.cs
- LoggedException.cs
- PointCollection.cs
- ProviderConnectionPointCollection.cs
- WindowExtensionMethods.cs
- GroupPartitionExpr.cs
- XamlPoint3DCollectionSerializer.cs
- ObjectDataSourceMethodEventArgs.cs
- ShaderEffect.cs
- SchemaImporterExtensionElement.cs
- PriorityRange.cs
- SystemTcpStatistics.cs
- QualificationDataAttribute.cs
- SmtpNegotiateAuthenticationModule.cs
- AttributeUsageAttribute.cs
- ObjectStateFormatter.cs
- WindowsIdentity.cs
- NamespaceQuery.cs
- UnSafeCharBuffer.cs
- DecimalAnimationBase.cs
- EpmSyndicationContentSerializer.cs
- IfJoinedCondition.cs
- PasswordTextNavigator.cs
- RichTextBoxAutomationPeer.cs
- NetworkStream.cs
- PageRanges.cs
- MenuStrip.cs
- FontInfo.cs
- SubqueryRules.cs
- CollectionType.cs
- Configuration.cs
- PageBuildProvider.cs
- DiscoveryClientBindingElement.cs
- SubtreeProcessor.cs
- DecoratedNameAttribute.cs
- Journal.cs
- ClientConvert.cs
- DbModificationCommandTree.cs
- SoapCommonClasses.cs
- StsCommunicationException.cs
- CompoundFileStreamReference.cs
- TagMapCollection.cs
- BorderGapMaskConverter.cs
- XmlSchemaObjectTable.cs
- DesignerWithHeader.cs
- ServicePoint.cs
- TraceSource.cs
- XsltContext.cs
- SqlCommandBuilder.cs
- NewExpression.cs
- XamlFilter.cs
- NotifyInputEventArgs.cs
- EntityDataSourceDesignerHelper.cs
- StrokeCollection2.cs
- ModifiableIteratorCollection.cs
- BinaryObjectReader.cs
- RemotingException.cs
- Vector3DCollectionConverter.cs
- SkewTransform.cs
- WrapperSecurityCommunicationObject.cs
- AlternationConverter.cs
- FileRecordSequence.cs
- ProxyHelper.cs
- thaishape.cs
- StoreAnnotationsMap.cs
- IntAverageAggregationOperator.cs
- ContentOperations.cs
- ContractListAdapter.cs
- DetailsViewUpdatedEventArgs.cs
- FlowDocument.cs
- Sequence.cs
- ItemsControl.cs
- ZipIOExtraField.cs
- DrawingBrush.cs
- ConfigXmlWhitespace.cs
- ErrorStyle.cs
- XmlDataImplementation.cs
- OrderedDictionaryStateHelper.cs
- Roles.cs
- filewebrequest.cs
- BCLDebug.cs
- LOSFormatter.cs
- Triplet.cs
- XmlLoader.cs
- ExtensionQuery.cs
- cookiecollection.cs
- RelatedImageListAttribute.cs
- ElementHost.cs
- Simplifier.cs
- OdbcCommandBuilder.cs
- ADMembershipUser.cs
- RelatedPropertyManager.cs