ParallelPipelineStage<TContext, TBaseNode> Class ​
Definition ​
A PipelineStage<TContext, TBaseNode> that runs processors in parallel.
c#
public sealed class ParallelPipelineStage<TContext, TBaseNode> : PipelineStage<TContext, TBaseNode>
where TBaseNode : Node<TBaseNode>Type Parameters ​
| Name | Description |
|---|---|
TContext | The type of the processing context. |
TBaseNode | The type of nodes in the tree. |
Properties ​
| Name | Description |
|---|---|
MaxDegreeOfParallelism | The maximum degree of parallelism to use when processing nodes. |
Processors | The processors in the stage. |
Strategy | How the stage divides its work between threads. |