Show / Hide Table of Contents

Class TaskParallelComputationContext

Denotes a computation context that uses the TPL for parallel task execution

Inheritance
object
ComputationContext
TaskParallelComputationContext
Implements
IComputationContext
Inherited Members
ComputationContext.TransformationContext
ComputationContext.IsDelayed
ComputationContext.DelayOutputAtLeast(byte)
ComputationContext.DelayTransformationAtLeast(byte)
ComputationContext.MinOutputDelayLevel
ComputationContext.MinTransformDelayLevel
ComputationContext.InitializeOutput(object)
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 TaskParallelComputationContext : ComputationContext, IComputationContext

Constructors

| Edit this page View Source

TaskParallelComputationContext(ITransformationContext)

Creates a new instance

Declaration
public TaskParallelComputationContext(ITransformationContext context)
Parameters
Type Name Description
ITransformationContext context

Methods

| Edit this page View Source

Complete()

Waits until all transformations are computed

Declaration
public Task Complete()
Returns
Type Description
Task
| Edit this page View Source

ConnectWith(Computation)

Connects the computation context with the given computation

Declaration
public override void ConnectWith(Computation computation)
Parameters
Type Name Description
Computation computation

The computation thst is handled by this computation context

Overrides
ComputationContext.ConnectWith(Computation)
| Edit this page View Source

MarkRequire(Computation, bool)

Mark that this computation context requires another computation context to be done

Declaration
public override void MarkRequire(Computation other, bool isRequired)
Parameters
Type Name Description
Computation other

The other computation context

bool isRequired

True, if the other context is a strict requirement

Overrides
ComputationContext.MarkRequire(Computation, bool)

Implements

IComputationContext
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX