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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.