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
- ParsedAttributeCollection.cs
- StylusTip.cs
- StorageComplexTypeMapping.cs
- PackageRelationshipSelector.cs
- ForceCopyBuildProvider.cs
- TextRunCacheImp.cs
- SoapHttpTransportImporter.cs
- NameTable.cs
- clipboard.cs
- DynamicPropertyHolder.cs
- CodeIdentifiers.cs
- RegexCapture.cs
- DataGridViewButtonCell.cs
- CfgParser.cs
- base64Transforms.cs
- GestureRecognitionResult.cs
- TransformGroup.cs
- RawStylusInputCustomData.cs
- EmulateRecognizeCompletedEventArgs.cs
- COMException.cs
- CommentEmitter.cs
- CodeDomLoader.cs
- TextRenderingModeValidation.cs
- ServerIdentity.cs
- SimpleWebHandlerParser.cs
- ISAPIWorkerRequest.cs
- CatalogPartChrome.cs
- ManipulationDeltaEventArgs.cs
- SizeIndependentAnimationStorage.cs
- oledbconnectionstring.cs
- OpCopier.cs
- Visual3DCollection.cs
- ExceptionUtil.cs
- MouseButtonEventArgs.cs
- ResourceDefaultValueAttribute.cs
- TextDpi.cs
- FormViewDeletedEventArgs.cs
- ToolStripItemTextRenderEventArgs.cs
- PointCollection.cs
- Executor.cs
- TerminatorSinks.cs
- StrokeCollection.cs
- CodeAttributeArgumentCollection.cs
- StrokeCollectionConverter.cs
- DnsPermission.cs
- ObjectListCommandsPage.cs
- ConsumerConnectionPointCollection.cs
- MgmtResManager.cs
- ContextMenuStrip.cs
- GenericEnumConverter.cs
- Image.cs
- DataGridViewCell.cs
- TdsParserSessionPool.cs
- SqlSupersetValidator.cs
- TemplateParser.cs
- HtmlMeta.cs
- UserUseLicenseDictionaryLoader.cs
- UIPermission.cs
- PathFigure.cs
- StylusPointPropertyInfoDefaults.cs
- PenContext.cs
- CompilerErrorCollection.cs
- HwndSourceParameters.cs
- BufferedGraphicsManager.cs
- EventListener.cs
- OfTypeExpression.cs
- CaseKeyBox.ViewModel.cs
- FilteredDataSetHelper.cs
- BaseConfigurationRecord.cs
- HelpKeywordAttribute.cs
- AttributeEmitter.cs
- WebWorkflowRole.cs
- QuaternionRotation3D.cs
- PathData.cs
- ErrorProvider.cs
- Int32RectConverter.cs
- LineSegment.cs
- X509CertificateEndpointIdentity.cs
- DatatypeImplementation.cs
- GenericTypeParameterBuilder.cs
- FixedNode.cs
- Attribute.cs
- RuntimeConfig.cs
- ConfigsHelper.cs
- M3DUtil.cs
- MachineKey.cs
- SubclassTypeValidatorAttribute.cs
- FontFamilyValueSerializer.cs
- PopOutPanel.cs
- ParenthesizePropertyNameAttribute.cs
- _SSPISessionCache.cs
- LocalValueEnumerator.cs
- ParserStreamGeometryContext.cs
- CompoundFileReference.cs
- ComEventsSink.cs
- ObjectTag.cs
- Constraint.cs
- SyndicationCategory.cs
- IntegerCollectionEditor.cs
- basecomparevalidator.cs