CompositionOperation.Run(LifetimeContext, CompositeActivator) CompositionOperation.Run(LifetimeContext, CompositeActivator) CompositionOperation.Run(LifetimeContext, CompositeActivator) CompositionOperation.Run(LifetimeContext, CompositeActivator) Method

Definición

Ejecuta la operación de composición a partir del contexto de duración especificado, controlado por el activador especificado.Runs the composition operation starting within the specified lifetime context, driven by the specified activator.

public:
 static System::Object ^ Run(System::Composition::Hosting::Core::LifetimeContext ^ outermostLifetimeContext, System::Composition::Hosting::Core::CompositeActivator ^ compositionRootActivator);
public static object Run (System.Composition.Hosting.Core.LifetimeContext outermostLifetimeContext, System.Composition.Hosting.Core.CompositeActivator compositionRootActivator);
static member Run : System.Composition.Hosting.Core.LifetimeContext * System.Composition.Hosting.Core.CompositeActivator -> obj
Public Shared Function Run (outermostLifetimeContext As LifetimeContext, compositionRootActivator As CompositeActivator) As Object

Parámetros

outermostLifetimeContext
LifetimeContext LifetimeContext LifetimeContext LifetimeContext

El contexto en el que se va a comenzar la operación (la operación puede fluir a los elementos primarios del contexto si es necesario).The context in which to begin the operation (the operation can flow to the parents of the context if required).

compositionRootActivator
CompositeActivator CompositeActivator CompositeActivator CompositeActivator

El activador que controla la operación.The activator that drives the operation.

Devoluciones

Gráfico de objeto compuesto.The composed object graph.

Se aplica a