Partager via


PartDiscovery.GetImportingConstructor<TImportingConstructorAttribute> Method

Definition

protected static System.Reflection.ConstructorInfo GetImportingConstructor<TImportingConstructorAttribute> (Type type, bool publicOnly) where TImportingConstructorAttribute : Attribute;
static member GetImportingConstructor : Type * bool -> System.Reflection.ConstructorInfo (requires 'ImportingConstructorAttribute :> Attribute)
Protected Shared Function GetImportingConstructor(Of TImportingConstructorAttribute As Attribute) (type As Type, publicOnly As Boolean) As ConstructorInfo

Type Parameters

TImportingConstructorAttribute

Parameters

type
Type
publicOnly
Boolean

Returns

Applies to