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
- ImageFormat.cs
- TreeViewCancelEvent.cs
- TrailingSpaceComparer.cs
- DataRecordInternal.cs
- EditorAttributeInfo.cs
- XmlNamespaceManager.cs
- FillErrorEventArgs.cs
- GenericTextProperties.cs
- PenContext.cs
- Decimal.cs
- Currency.cs
- FormViewDeleteEventArgs.cs
- FastPropertyAccessor.cs
- ExtenderProviderService.cs
- OleDbCommandBuilder.cs
- Underline.cs
- DbConnectionPoolGroupProviderInfo.cs
- ValidatingPropertiesEventArgs.cs
- DecoderNLS.cs
- XsltQilFactory.cs
- IdentityHolder.cs
- HandlerFactoryCache.cs
- TypeNameHelper.cs
- ISO2022Encoding.cs
- EventHandlersStore.cs
- ReadOnlyDictionary.cs
- LogicalTreeHelper.cs
- HtmlLink.cs
- MembershipPasswordException.cs
- DataSourceXmlAttributeAttribute.cs
- CriticalFinalizerObject.cs
- Figure.cs
- WmfPlaceableFileHeader.cs
- WebConfigurationHost.cs
- InputMethodStateChangeEventArgs.cs
- UnitySerializationHolder.cs
- ProxyWebPartManagerDesigner.cs
- ToolStripRenderer.cs
- TemplateManager.cs
- DataObject.cs
- ExpressionVisitorHelpers.cs
- DecodeHelper.cs
- HtmlControl.cs
- ComplexLine.cs
- SerializerDescriptor.cs
- MappingMetadataHelper.cs
- XmlException.cs
- MILUtilities.cs
- GridItemProviderWrapper.cs
- SqlTrackingService.cs
- XamlFigureLengthSerializer.cs
- AesCryptoServiceProvider.cs
- WinFormsSecurity.cs
- ApplicationFileParser.cs
- ScrollContentPresenter.cs
- XmlSchemaAnnotated.cs
- Cell.cs
- LifetimeServices.cs
- BrowserCapabilitiesFactoryBase.cs
- HttpResponseBase.cs
- Normalization.cs
- ControlBindingsCollection.cs
- NetworkStream.cs
- AssemblyNameProxy.cs
- ViewStateException.cs
- ObjectConverter.cs
- MailSettingsSection.cs
- DrawListViewSubItemEventArgs.cs
- WebBrowserHelper.cs
- ReadOnlyDictionary.cs
- LeafCellTreeNode.cs
- Panel.cs
- D3DImage.cs
- CodeAccessPermission.cs
- AutomationPropertyInfo.cs
- ImageKeyConverter.cs
- HitTestParameters.cs
- PtsHelper.cs
- WCFServiceClientProxyGenerator.cs
- DelayLoadType.cs
- HierarchicalDataBoundControl.cs
- _UriTypeConverter.cs
- TextAutomationPeer.cs
- MemberInfoSerializationHolder.cs
- WindowAutomationPeer.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- MasterPage.cs
- DataTableNewRowEvent.cs
- GlyphingCache.cs
- LoginUtil.cs
- DefaultProxySection.cs
- EncoderBestFitFallback.cs
- ModelTreeEnumerator.cs
- DataBindingList.cs
- MemberMaps.cs
- FormViewModeEventArgs.cs
- _ShellExpression.cs
- ClrPerspective.cs
- Win32PrintDialog.cs
- Transform3DGroup.cs