Pipeline<TBaseNode>.Run Method
Overloads
Name | Description |
|---|---|
Runs the pipeline on the specified root node, returning a tuple with the result, the potentially replaced root node and the last stage run. | |
Runs the pipeline on the specified root node, returning the potentially new root via an out parameter. | |
Runs the pipeline on the specified root node, returning the potentially new root and last stage run via out parameters. |
Run(TBaseNode)
Definition
Runs the pipeline on the specified root node, returning a tuple with the result, the potentially replaced root node and the last stage run.
Parameters
Name | Type | Description |
|---|---|---|
root | TBaseNode | The root node to run the pipeline on. |
Returns
(bool Success, TBaseNode Root, String LastStageRun) A tuple of whether all stages ran successfully, the root node which may have been replaced, and the name of the last stage that was run.
Run(TBaseNode, out TBaseNode)
Definition
Runs the pipeline on the specified root node, returning the potentially new root via an out parameter.
Parameters
Name | Type | Description |
|---|---|---|
root | TBaseNode | The root node to run the pipeline on. |
newRoot | TBaseNode | The root node after processing, which may have been replaced by a Replacer<TBaseNode>. |
Returns
Boolean true if all stages ran successfully, false otherwise.
Run(TBaseNode, out TBaseNode, out String)
Definition
Runs the pipeline on the specified root node, returning the potentially new root and last stage run via out parameters.
Parameters
Name | Type | Description |
|---|---|---|
root | TBaseNode | The root node to run the pipeline on. |
newRoot | TBaseNode | The root node after processing, which may have been replaced by a Replacer<TBaseNode>. |
lastStageRun | The name of the last stage that was run. If |
Returns
Boolean true if all stages ran successfully, false otherwise.