PartBuilder<T>.SelectConstructor 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.
Specifies the constructor that should be used as an importing constructor.
public:
System::ComponentModel::Composition::Registration::PartBuilder<T> ^ SelectConstructor(System::Linq::Expressions::Expression<Func<System::ComponentModel::Composition::Registration::ParameterImportBuilder ^, T> ^> ^ constructorFilter);
public System.ComponentModel.Composition.Registration.PartBuilder<T> SelectConstructor (System.Linq.Expressions.Expression<Func<System.ComponentModel.Composition.Registration.ParameterImportBuilder,T>> constructorFilter);
override this.SelectConstructor : System.Linq.Expressions.Expression<Func<System.ComponentModel.Composition.Registration.ParameterImportBuilder, 'T>> -> System.ComponentModel.Composition.Registration.PartBuilder<'T>
Public Function SelectConstructor (constructorFilter As Expression(Of Func(Of ParameterImportBuilder, T))) As PartBuilder(Of T)
Parameters
- constructorFilter
- Expression<Func<ParameterImportBuilder,T>>
An expression that constructs T
by using the desired constructor. It is used only for reference, not actually invoked.
Returns
The current object, to allow chaining.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.