The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
PartConventionBuilder::SelectConstructor Method (Func<IEnumerable<ConstructorInfo^>^, ConstructorInfo^>^)
.NET Framework (current version)
Selects the constructor used to initialize the part by using the specified function.
Assembly: System.Composition.Convention (in System.Composition.Convention.dll)
public:
PartConventionBuilder^ SelectConstructor(
Func<IEnumerable<ConstructorInfo^>^, ConstructorInfo^>^ constructorSelector
)
Parameters
- constructorSelector
-
Type:
System::Func<IEnumerable<ConstructorInfo^>^, ConstructorInfo^>^
A function that returns a single constructor.
Return Value
Type: System.Composition.Convention::PartConventionBuilder^A part builder that provides further configuration of the part.
Show: