Aracılığıyla paylaş


CompositeActivator Delegate

Definition

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

public delegate System::Object ^ CompositeActivator(LifetimeContext ^ context, CompositionOperation ^ operation);
public delegate object CompositeActivator(LifetimeContext context, CompositionOperation operation);
type CompositeActivator = delegate of LifetimeContext * CompositionOperation -> obj
Public Delegate Function CompositeActivator(context As LifetimeContext, operation As CompositionOperation) As Object 

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