PipelineStage<TBaseNode>.Run Method
Overloads
Method | Description |
|---|---|
Runs the stage, returning a tuple of whether the pipeline should continue and the potentially replaced root node. | |
Runs the stage, returning the potentially new root via an out parameter. |
Run(TBaseNode)
Definition
Runs the stage, returning a tuple of whether the pipeline should continue and the potentially replaced root node.
Parameters
Name | Type | Description |
|---|---|---|
root | TBaseNode | The root node to run processing on. |
Returns
(bool Success, TBaseNode Root) A tuple of whether processing should continue and the root node, which may have been replaced by a Replacer<TBaseNode>.
Run(TBaseNode, out TBaseNode)
Definition
Runs the stage, returning the potentially new root via an out parameter.
Parameters
Name | Type | Description |
|---|---|---|
root | TBaseNode | The root node to run processing on. |
newRoot | TBaseNode | The root node after processing, which may have been replaced by a Replacer<TBaseNode>. |
Returns
Boolean true if the pipeline should proceed to the next stage, false otherwise.