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
- SpecialFolderEnumConverter.cs
- HelpFileFileNameEditor.cs
- ObsoleteAttribute.cs
- KeyPullup.cs
- Internal.cs
- BmpBitmapDecoder.cs
- JsonReader.cs
- MemberInfoSerializationHolder.cs
- ProfileGroupSettings.cs
- HttpRequestCacheValidator.cs
- controlskin.cs
- ListParaClient.cs
- ListenerHandler.cs
- CannotUnloadAppDomainException.cs
- TableCellsCollectionEditor.cs
- Int64KeyFrameCollection.cs
- WebPartCatalogCloseVerb.cs
- AssemblyEvidenceFactory.cs
- UriSection.cs
- OdbcConnectionStringbuilder.cs
- RecordsAffectedEventArgs.cs
- ObjectDisposedException.cs
- ObjectDataSourceDisposingEventArgs.cs
- Operand.cs
- StronglyTypedResourceBuilder.cs
- FrameAutomationPeer.cs
- WebPartChrome.cs
- Currency.cs
- AttachmentCollection.cs
- NumericPagerField.cs
- RIPEMD160Managed.cs
- BinarySerializer.cs
- Figure.cs
- ChineseLunisolarCalendar.cs
- DataContractSet.cs
- MouseBinding.cs
- FlowLayoutPanel.cs
- LicFileLicenseProvider.cs
- MediaContextNotificationWindow.cs
- CommandField.cs
- BookmarkUndoUnit.cs
- StringUtil.cs
- Slider.cs
- DocumentSequence.cs
- TransactionProtocolConverter.cs
- Partitioner.cs
- WebPartEditorOkVerb.cs
- EventMappingSettingsCollection.cs
- XhtmlBasicCalendarAdapter.cs
- FileDetails.cs
- RegexCaptureCollection.cs
- OutputCacheProfile.cs
- ClaimTypes.cs
- HttpCacheParams.cs
- TreeNodeBindingCollection.cs
- ControlParameter.cs
- CaseStatementSlot.cs
- EntityDataSourceView.cs
- InputBindingCollection.cs
- TableRow.cs
- XsltSettings.cs
- ProtectedConfigurationProviderCollection.cs
- KeyBinding.cs
- SystemNetHelpers.cs
- uribuilder.cs
- TogglePatternIdentifiers.cs
- EntitySqlQueryState.cs
- ComponentGlyph.cs
- DataGridItemCollection.cs
- ConfigXmlComment.cs
- Size3D.cs
- ThreadAttributes.cs
- UInt16Storage.cs
- SqlConnectionStringBuilder.cs
- TraceHwndHost.cs
- MonthChangedEventArgs.cs
- DataTemplate.cs
- AnnotationObservableCollection.cs
- BinaryMessageFormatter.cs
- TextEndOfSegment.cs
- HostedBindingBehavior.cs
- HtmlElementEventArgs.cs
- BufferedGraphics.cs
- PrincipalPermission.cs
- SecurityTokenProviderContainer.cs
- TemplatedEditableDesignerRegion.cs
- DiscardableAttribute.cs
- MatrixConverter.cs
- WebPartsPersonalizationAuthorization.cs
- QueryTask.cs
- UpdateManifestForBrowserApplication.cs
- DropDownList.cs
- BindingMemberInfo.cs
- Events.cs
- TreeViewHitTestInfo.cs
- Util.cs
- SymmetricKeyWrap.cs
- ToolboxBitmapAttribute.cs
- RunWorkerCompletedEventArgs.cs
- DbLambda.cs