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
- ImageCollectionCodeDomSerializer.cs
- KeyEvent.cs
- ICspAsymmetricAlgorithm.cs
- WsdlInspector.cs
- WindowsTooltip.cs
- AttributeParameterInfo.cs
- Attributes.cs
- NullReferenceException.cs
- AccessViolationException.cs
- TextViewSelectionProcessor.cs
- ActivationArguments.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SqlExpander.cs
- EncoderBestFitFallback.cs
- LinqDataSourceContextEventArgs.cs
- SafeArrayTypeMismatchException.cs
- XmlAttributeCache.cs
- SqlCaseSimplifier.cs
- EmissiveMaterial.cs
- UnsafeNativeMethodsCLR.cs
- TiffBitmapEncoder.cs
- PolicyStatement.cs
- MetadataFile.cs
- XmlStreamedByteStreamReader.cs
- SplitContainer.cs
- GenerateScriptTypeAttribute.cs
- MemberAccessException.cs
- XXXInfos.cs
- EmptyCollection.cs
- XmlSchemaGroupRef.cs
- SingleStorage.cs
- WebBrowserPermission.cs
- ToolStripPanelRenderEventArgs.cs
- Type.cs
- SplitterPanel.cs
- DeclaredTypeElement.cs
- ValueCollectionParameterReader.cs
- ADMembershipUser.cs
- ResourcesGenerator.cs
- DynamicRenderer.cs
- Geometry3D.cs
- SnapshotChangeTrackingStrategy.cs
- WebControl.cs
- JournalNavigationScope.cs
- MonthChangedEventArgs.cs
- DataGridViewColumn.cs
- KnownBoxes.cs
- AspNetSynchronizationContext.cs
- ClientConfigPaths.cs
- TextTreeNode.cs
- BindingObserver.cs
- PreloadHost.cs
- SqlDataReader.cs
- SqlCacheDependencySection.cs
- RegexWorker.cs
- InstanceCollisionException.cs
- ResolveDuplex11AsyncResult.cs
- Paragraph.cs
- DesignerSerializationOptionsAttribute.cs
- TransformCryptoHandle.cs
- dataobject.cs
- OutOfMemoryException.cs
- DataServiceQuery.cs
- OleDbReferenceCollection.cs
- sqlnorm.cs
- XmlToDatasetMap.cs
- SqlUnionizer.cs
- OleDbMetaDataFactory.cs
- SharedPersonalizationStateInfo.cs
- AttachmentService.cs
- ValidatingReaderNodeData.cs
- ImageClickEventArgs.cs
- WebUtil.cs
- TableLayoutCellPaintEventArgs.cs
- ServiceModelExtensionCollectionElement.cs
- XmlSchemaImport.cs
- DesignerCommandSet.cs
- HwndTarget.cs
- ILGenerator.cs
- FormatException.cs
- ToolStripHighContrastRenderer.cs
- RewritingValidator.cs
- FrameworkEventSource.cs
- ClientProxyGenerator.cs
- X509Utils.cs
- Preprocessor.cs
- NameObjectCollectionBase.cs
- ColorConverter.cs
- Odbc32.cs
- Identifier.cs
- SurrogateChar.cs
- Hash.cs
- CodeTypeReferenceExpression.cs
- Logging.cs
- FormViewUpdatedEventArgs.cs
- GroupBoxRenderer.cs
- UdpChannelListener.cs
- SafeNativeMethodsOther.cs
- DefaultEventAttribute.cs
- DataContractJsonSerializer.cs