Class TaskParallelTransformationContext2
An alternative implementation of a transformation context parallelized using the TPL
Inherited Members
Namespace: NMF.Transformations.Parallel.Tasks
Assembly: NMF.Transformations.Parallel.dll
Syntax
public class TaskParallelTransformationContext2 : TransformationContext, ITransformationEngineContext, ITransformationContext
Constructors
| Edit this page View SourceTaskParallelTransformationContext2(Transformation)
Creates a new instance
Declaration
public TaskParallelTransformationContext2(Transformation transformation)
Parameters
Type | Name | Description |
---|---|---|
Transformation | transformation |
Methods
| Edit this page View SourceCreateComputationContext(object[], GeneralTransformationRule)
Creates a computation context for the given input with the given transformation rule
Declaration
protected override ComputationContext CreateComputationContext(object[] input, GeneralTransformationRule rule)
Parameters
Type | Name | Description |
---|---|---|
object[] | input | The inputs |
GeneralTransformationRule | rule | The transformation rule to process these inputs |
Returns
Type | Description |
---|---|
ComputationContext | A computation context |
Overrides
| Edit this page View SourceExecuteLevel(IList<Computation>)
Executes all computations of the given level
Declaration
protected override void ExecuteLevel(IList<Computation> computationsOfLevel)
Parameters
Type | Name | Description |
---|---|---|
IList<Computation> | computationsOfLevel | The computations of the given level |