![]() |
Common
A library of common classes.
|
A class for chaining multiple IPipelineStep together. More...
Public Member Functions | |
Pipeline (params IPipelineStep[] steps) | |
Initializes a new pipeline. More... | |
PipelineResults | Run (Dictionary< string, object > inputs, Action< string > logger=null, CancellationToken cancellationToken=default) |
Invokes all steps of the pipeline and returns the results. More... | |
Task< PipelineResults > | RunAsync (Dictionary< string, object > inputs, Action< string > logger=null, CancellationToken cancellationToken=default) |
Runs the pipeline asynchonously. More... | |
Properties | |
List< IPipelineStep > | Steps = new List<IPipelineStep>() [getprivate set] |
A list of pipeline steps. More... | |
A class for chaining multiple IPipelineStep together.
Definition at line 11 of file Pipeline.cs.
Pipeline | ( | params IPipelineStep[] | steps | ) |
Initializes a new pipeline.
steps | The pipeline steps. |
Definition at line 22 of file Pipeline.cs.
PipelineResults Run | ( | Dictionary< string, object > | inputs, |
Action< string > | logger = null , |
||
CancellationToken | cancellationToken = default |
||
) |
Invokes all steps of the pipeline and returns the results.
inputs | A dictionary of pipeline inputs. |
logger | A logging action. Ignored if null. |
cancellationToken | The cancellation token. |
Definition at line 33 of file Pipeline.cs.
Task< PipelineResults > RunAsync | ( | Dictionary< string, object > | inputs, |
Action< string > | logger = null , |
||
CancellationToken | cancellationToken = default |
||
) |
Runs the pipeline asynchonously.
inputs | A dictionary of pipeline inputs. |
logger | A logging action. Ignored if null. |
cancellationToken | The cancellation token. |
Definition at line 64 of file Pipeline.cs.
|
getprivate set |
A list of pipeline steps.
Definition at line 16 of file Pipeline.cs.