Pipeline<TContext, TBaseNode>.Run Method
Definition
Runs the pipeline on the specified root node.
public PipelineResult<TBaseNode> Run(TContext? context, TBaseNode root);
Parameters
| Name | Type | Description |
|---|---|---|
context |
TContext |
The processing context. |
root |
TBaseNode |
The root node to run the pipeline on. |
Returns
The result of running the pipeline, including the root node after processing, which may have been replaced.