Table of Contents

Class TracingTransformationContext

Namespace
NMF.Transformations.Trace
Assembly
NMF.Transformations.Trace.dll

Denotes a transformation context implementation that creates an image of the transformation using DGML

public class TracingTransformationContext : TransformationContext, ITransformationEngineContext, ITransformationContext
Inheritance
TracingTransformationContext
Implements
Inherited Members
Extension Methods

Constructors

TracingTransformationContext(Transformation)

Creates a new instance

public TracingTransformationContext(Transformation transformation)

Parameters

transformation Transformation

Methods

CreateComputationContext(object[], GeneralTransformationRule)

Creates a computation context for the given input with the given transformation rule

protected override sealed ComputationContext CreateComputationContext(object[] input, GeneralTransformationRule rule)

Parameters

input object[]

The inputs

rule GeneralTransformationRule

The transformation rule to process these inputs

Returns

ComputationContext

A computation context

CreateId(object[], GeneralTransformationRule)

Creates the id for the input represented by the given inputs

protected virtual string CreateId(object[] input, GeneralTransformationRule rule)

Parameters

input object[]

The inputs

rule GeneralTransformationRule

The transformation rule

Returns

string

An identifier for the node

CreateLabel(object[], GeneralTransformationRule)

Creates a label for the computation of the given inputs

protected virtual string CreateLabel(object[] input, GeneralTransformationRule rule)

Parameters

input object[]

The inputs

rule GeneralTransformationRule

The transformation rule

Returns

string

A label for the node representing the computation of the inputs

WriteTraceGraph(TextWriter)

Writes the trace graph to the given text writer

public void WriteTraceGraph(TextWriter writer)

Parameters

writer TextWriter

The text writer