Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompositeActivator Delegate

.NET Framework (current version)
 

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

Namespace:   System.Composition.Hosting.Core
Assembly:  System.Composition.Hosting (in System.Composition.Hosting.dll)

public delegate object CompositeActivator(
	LifetimeContext context,
	CompositionOperation operation
)

Parameters

context
Type: System.Composition.Hosting.Core.LifetimeContext

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

operation
Type: System.Composition.Hosting.Core.CompositionOperation

The operation within which the activation is occurring.

Return Value

Type: System.Object

The activated part or export.

Return to top
Show:
© 2017 Microsoft