Show / Hide Table of Contents

Class TaskParallelTransformationContext2

An alternative implementation of a transformation context parallelized using the TPL

Inheritance
object
TransformationContext
TaskParallelTransformationContext2
Implements
ITransformationEngineContext
ITransformationContext
Inherited Members
TransformationContext.Transformation
TransformationContext.CallTransformation(GeneralTransformationRule, object[], IEnumerable)
TransformationContext.AddTraceEntry(Computation)
TransformationContext.ExecutePendingComputations()
TransformationContext.CreateDelayedOutputs()
TransformationContext.GetRules(Type[], Type)
TransformationContext.GetRule(Type[], Type)
TransformationContext.Bag
TransformationContext.Data
TransformationContext.ExecutePending()
TransformationContext.CallPendingDependencies()
TransformationContext.Computations
TransformationContext.Trace
TransformationContext.Input
TransformationContext.Inputs
TransformationContext.Output
TransformationContext.Outputs
TransformationContext.OnComputationCompleted(ComputationEventArgs)
TransformationContext.ComputationCompleted
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Transformations.Parallel.Tasks
Assembly: NMF.Transformations.Parallel.dll
Syntax
public class TaskParallelTransformationContext2 : TransformationContext, ITransformationEngineContext, ITransformationContext

Constructors

| Edit this page View Source

TaskParallelTransformationContext2(Transformation)

Creates a new instance

Declaration
public TaskParallelTransformationContext2(Transformation transformation)
Parameters
Type Name Description
Transformation transformation

Methods

| Edit this page View Source

CreateComputationContext(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
TransformationContext.CreateComputationContext(object[], GeneralTransformationRule)
| Edit this page View Source

ExecuteLevel(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

Overrides
TransformationContext.ExecuteLevel(IList<Computation>)

Implements

ITransformationEngineContext
ITransformationContext

Extension Methods

TransformationContextExtensions.CallTransformation(ITransformationContext, GeneralTransformationRule, params object[])
TraceExtensions.GetOrCreateUserItem<TValue>(ITransformationContext, object, Func<TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX