Show / Hide Table of Contents

Class TracingTransformationContext

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

Inheritance
object
TransformationContext
TracingTransformationContext
Implements
ITransformationEngineContext
ITransformationContext
Inherited Members
TransformationContext.Transformation
TransformationContext.CallTransformation(GeneralTransformationRule, object[], IEnumerable)
TransformationContext.AddTraceEntry(Computation)
TransformationContext.ExecutePendingComputations()
TransformationContext.ExecuteLevel(IList<Computation>)
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.Trace
Assembly: NMF.Transformations.Trace.dll
Syntax
public class TracingTransformationContext : TransformationContext, ITransformationEngineContext, ITransformationContext

Constructors

| Edit this page View Source

TracingTransformationContext(Transformation)

Creates a new instance

Declaration
public TracingTransformationContext(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 sealed 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

CreateId(object[], GeneralTransformationRule)

Creates the id for the input represented by the given inputs

Declaration
protected virtual string CreateId(object[] input, GeneralTransformationRule rule)
Parameters
Type Name Description
object[] input

The inputs

GeneralTransformationRule rule

The transformation rule

Returns
Type Description
string

An identifier for the node

| Edit this page View Source

CreateLabel(object[], GeneralTransformationRule)

Creates a label for the computation of the given inputs

Declaration
protected virtual string CreateLabel(object[] input, GeneralTransformationRule rule)
Parameters
Type Name Description
object[] input

The inputs

GeneralTransformationRule rule

The transformation rule

Returns
Type Description
string

A label for the node representing the computation of the inputs

| Edit this page View Source

WriteTraceGraph(TextWriter)

Writes the trace graph to the given text writer

Declaration
public void WriteTraceGraph(TextWriter writer)
Parameters
Type Name Description
TextWriter writer

The text writer

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