PartBuilder.SelectConstructor Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the constructor that matching types should use as an importing constructor.

Namespace:   System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

NameDescription
System_CAPS_pubmethodSelectConstructor(Func<ConstructorInfo[], ConstructorInfo>)

Specifies the constructor that matching types should use as an importing constructor.

System_CAPS_pubmethodSelectConstructor(Func<ConstructorInfo[], ConstructorInfo>, Action<ParameterInfo, ImportBuilder>)

Specifies the constructor that matching types should use as an importing constructor, and provides configuration information for the resulting import.

Return to top
Show: