InProcPipelineInvoker
public class InProcPipelineInvoker : IPipelineInvoker
Inheritance
- interface IPipelineInvoker
Namespace
Constructors
InProcPipelineInvoker
The default constructor.
public InProcPipelineInvoker()
Methods
Invoke<TContext>
Invoked the pipeline, executing the pipeline tasks sequentially.
public PipelineResult<TContext> Invoke<TContext>(IEnumerable<IPipelineTask<TContext>> pipelines,
PipelineArgs<TContext> args)
Parameters
Parameter | Description |
---|---|
pipelineTasks
|
The list of pipeline tasks to execute.
|
args
|
The initial args to pass to the pipeline tasks.
|
Returns
An attempt result.
Invoke<TContext,TResult>
Invoked the pipeline, executing the pipeline tasks sequentially.
public PipelineResult<TResult> Invoke<TContext, TResult>(
IEnumerable<IPipelineTask<TContext, TResult>> pipelines, PipelineArgs<TContext> args)
Parameters
Parameter | Description |
---|---|
pipelineTasks
|
The list of pipeline tasks to execute.
|
args
|
The initial args to pass to the pipeline tasks.
|
Returns
An attempt result.