1
// -----------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 // -----------------------------------------------------------------------
5 using System
.Diagnostics
.CodeAnalysis
;
7 namespace System
.ComponentModel
.Composition
10 /// Specifies that a constructor should be used when constructing an attributed part.
13 /// By default, only a default parameter-less constructor, if available, is used to
14 /// construct an attributed part. Use this attribute to indicate that a specific constructor
17 [SuppressMessage("Microsoft.Performance", "CA1813:AvoidUnsealedAttributes")]
18 [AttributeUsage(AttributeTargets
.Constructor
, AllowMultiple
= false, Inherited
= false)]
19 public class ImportingConstructorAttribute
: Attribute
22 /// Initializes a new instance of the <see cref="ImportingConstructorAttribute"/> class.
24 public ImportingConstructorAttribute()