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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.