CompositeActivator Delegate

Definition

The delegate that allows instances of parts and exports to be accessed during composition.

C#
public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation);

Parameters

context
LifetimeContext

The context in which the part or export is being accessed.

operation
CompositionOperation

The operation within which the activation is occurring.

Return Value

The activated part or export.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

产品 版本
.NET Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)