PartConventionBuilder<T>.NotifyImportsSatisfied 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.
Selects a method to be called when composition is complete.
public:
System::Composition::Convention::PartConventionBuilder<T> ^ NotifyImportsSatisfied(System::Linq::Expressions::Expression<Action<T> ^> ^ methodSelector);
public System.Composition.Convention.PartConventionBuilder<T> NotifyImportsSatisfied (System.Linq.Expressions.Expression<Action<T>> methodSelector);
override this.NotifyImportsSatisfied : System.Linq.Expressions.Expression<Action<'T>> -> System.Composition.Convention.PartConventionBuilder<'T>
Public Function NotifyImportsSatisfied (methodSelector As Expression(Of Action(Of T))) As PartConventionBuilder(Of T)
Parameters
- methodSelector
- Expression<Action<T>>
An action that selects the method to call.
Returns
An object that can be used to further configure the part.
Exceptions
The methodSelector
expression must be a void
method with no arguments.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.