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
- WindowsTreeView.cs
- XmlSchemaSimpleContent.cs
- OleDbConnectionFactory.cs
- PackageRelationshipCollection.cs
- PropertyItem.cs
- RecommendedAsConfigurableAttribute.cs
- DBCommand.cs
- ConfigXmlCDataSection.cs
- EnumType.cs
- remotingproxy.cs
- OdbcConnectionOpen.cs
- ReferentialConstraint.cs
- ConfigurationSettings.cs
- IndexingContentUnit.cs
- EmbossBitmapEffect.cs
- DesignerOptionService.cs
- XmlException.cs
- XmlnsDictionary.cs
- CreateUserErrorEventArgs.cs
- Interlocked.cs
- DispatcherEventArgs.cs
- DataGridAddNewRow.cs
- keycontainerpermission.cs
- RolePrincipal.cs
- DetailsViewCommandEventArgs.cs
- TableLayoutSettings.cs
- QueryOutputWriterV1.cs
- SafeEventLogWriteHandle.cs
- AliasGenerator.cs
- EdmError.cs
- _NegoState.cs
- WeakHashtable.cs
- ObjectListCommand.cs
- webeventbuffer.cs
- FlowNode.cs
- XamlFigureLengthSerializer.cs
- TransformValueSerializer.cs
- OdbcConnectionStringbuilder.cs
- assertwrapper.cs
- TrustLevelCollection.cs
- CustomSignedXml.cs
- ContentPropertyAttribute.cs
- IisTraceWebEventProvider.cs
- Expression.DebuggerProxy.cs
- ButtonBaseDesigner.cs
- VisualTreeHelper.cs
- SchemaTableColumn.cs
- EditorResources.cs
- MetadataWorkspace.cs
- OracleLob.cs
- ComplexBindingPropertiesAttribute.cs
- XmlSchemaDocumentation.cs
- Matrix3DConverter.cs
- EditingCommands.cs
- TCPListener.cs
- HorizontalAlignConverter.cs
- AttributeParameterInfo.cs
- NullReferenceException.cs
- LogManagementAsyncResult.cs
- FreezableDefaultValueFactory.cs
- SchemaElementLookUpTable.cs
- ProfilePropertySettingsCollection.cs
- ToolStripPanelCell.cs
- ObjectDataSourceChooseMethodsPanel.cs
- oledbconnectionstring.cs
- MailMessageEventArgs.cs
- XmlILStorageConverter.cs
- Visual3D.cs
- VectorAnimationUsingKeyFrames.cs
- SecureEnvironment.cs
- DataGridViewCellConverter.cs
- FunctionQuery.cs
- ValidationRule.cs
- ConstraintCollection.cs
- TraceLog.cs
- PageThemeParser.cs
- DocumentOrderQuery.cs
- HttpDictionary.cs
- WebConfigurationFileMap.cs
- XmlTextAttribute.cs
- GuidConverter.cs
- LocatorManager.cs
- Exceptions.cs
- WindowsProgressbar.cs
- HMACSHA256.cs
- FrameSecurityDescriptor.cs
- WsatServiceAddress.cs
- LocatorPart.cs
- TableNameAttribute.cs
- XmlSchemaSimpleContentRestriction.cs
- WebPartConnectionsCancelEventArgs.cs
- MULTI_QI.cs
- IndentTextWriter.cs
- Rect3D.cs
- SingleAnimationBase.cs
- DataRecordInternal.cs
- EntityContainerRelationshipSetEnd.cs
- MapPathBasedVirtualPathProvider.cs
- ApplicationFileCodeDomTreeGenerator.cs
- BufferedReadStream.cs