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
- DataPagerFieldCommandEventArgs.cs
- SqlDependency.cs
- TreeNodeCollection.cs
- IdentityNotMappedException.cs
- XsltSettings.cs
- DynamicQueryableWrapper.cs
- ModifiableIteratorCollection.cs
- StringSource.cs
- Hash.cs
- ConnectionsZoneDesigner.cs
- ControlParameter.cs
- ArithmeticException.cs
- Aggregates.cs
- CommentAction.cs
- DesignTimeParseData.cs
- DataFieldCollectionEditor.cs
- ITreeGenerator.cs
- XPathMessageFilterElementComparer.cs
- SharedPersonalizationStateInfo.cs
- GradientStop.cs
- XappLauncher.cs
- CryptoApi.cs
- FunctionImportElement.cs
- ValueQuery.cs
- Comparer.cs
- FixedDocument.cs
- XpsDocument.cs
- SHA1Managed.cs
- BamlLocalizer.cs
- SearchForVirtualItemEventArgs.cs
- HostSecurityManager.cs
- StrokeNodeOperations.cs
- FrameAutomationPeer.cs
- GlobalizationAssembly.cs
- MetadataItemSerializer.cs
- ContentType.cs
- AsymmetricSignatureDeformatter.cs
- Attachment.cs
- CodeIdentifier.cs
- PnrpPermission.cs
- Vector3D.cs
- XmlSchemaIdentityConstraint.cs
- ReferenceSchema.cs
- ConfigurationSectionGroup.cs
- EditorPartCollection.cs
- Button.cs
- PingOptions.cs
- FaultCallbackWrapper.cs
- MatcherBuilder.cs
- FlatButtonAppearance.cs
- UniqueEventHelper.cs
- ListenerSessionConnectionReader.cs
- PieceDirectory.cs
- ComplexLine.cs
- KnownTypes.cs
- AutomationPropertyInfo.cs
- Parsers.cs
- PropertyChangedEventArgs.cs
- HttpConfigurationContext.cs
- HostProtectionPermission.cs
- ISAPIApplicationHost.cs
- InputProviderSite.cs
- ParameterToken.cs
- HoistedLocals.cs
- VectorCollectionValueSerializer.cs
- SigningDialog.cs
- SimpleMailWebEventProvider.cs
- CodeLabeledStatement.cs
- SubqueryTrackingVisitor.cs
- CellTreeNodeVisitors.cs
- GlobalizationAssembly.cs
- BindingGroup.cs
- MetaModel.cs
- Types.cs
- RegexMatch.cs
- TransactionContextValidator.cs
- BaseValidator.cs
- RegistryKey.cs
- Timer.cs
- ReverseQueryOperator.cs
- XpsFontSerializationService.cs
- ControlsConfig.cs
- QuaternionKeyFrameCollection.cs
- CodeMethodReturnStatement.cs
- assertwrapper.cs
- AsyncOperationContext.cs
- RelatedPropertyManager.cs
- Publisher.cs
- BufferedMessageData.cs
- InvokeWebServiceDesigner.cs
- Decimal.cs
- GC.cs
- EntityConnectionStringBuilderItem.cs
- ClientTargetSection.cs
- BaseDataBoundControl.cs
- SmiRecordBuffer.cs
- TraceUtils.cs
- FormsAuthenticationEventArgs.cs
- ParallelTimeline.cs
- __Filters.cs