PartDiscovery.GetImportingConstructor<TImportingConstructorAttribute> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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