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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.