Table of Contents

Interface ITransformationTrace

Namespace
NMF.Transformations.Core
Assembly
NMF.Transformations.Core.dll

Represents a trace for a transformation

public interface ITransformationTrace
Extension Methods

Methods

PublishEntry(ITraceEntry)

Publishes the given computation to the trace

void PublishEntry(ITraceEntry traceEntry)

Parameters

traceEntry ITraceEntry

The computation that should be added to the trace

RevokeEntry(ITraceEntry)

Revokes the given computation and deletes it from the trace

void RevokeEntry(ITraceEntry traceEntry)

Parameters

traceEntry ITraceEntry

The computation that is to be revoked

Trace(params object[])

Traces the computations based upon the specified input

IEnumerable<ITraceEntry> Trace(params object[] input)

Parameters

input object[]

The input arguments

Returns

IEnumerable<ITraceEntry>

The computations with the given inputs

TraceAll(Type[], Type)

Traces all computations that match the given type signature

IEnumerable<ITraceEntry> TraceAll(Type[] inputTypes, Type outputType)

Parameters

inputTypes Type[]

The input types

outputType Type

The output types

Returns

IEnumerable<ITraceEntry>

A collection of computations

TraceAllIn(GeneralTransformationRule)

Traces all computations with any inputs that math the given filters with the specified transformation rule

IEnumerable<ITraceEntry> TraceAllIn(GeneralTransformationRule rule)

Parameters

rule GeneralTransformationRule

The transformation rule

Returns

IEnumerable<ITraceEntry>

A collection with all computations made under these circumstances

TraceIn(GeneralTransformationRule, params object[])

Traces the computation based upon the specified input with the specified transformation rule

IEnumerable<ITraceEntry> TraceIn(GeneralTransformationRule rule, params object[] input)

Parameters

rule GeneralTransformationRule

The transformation rule the object was transformed with

input object[]

The input arguments

Returns

IEnumerable<ITraceEntry>

The computation or null, if there was none

TraceMany(Type[], Type, IEnumerable<object[]>)

Traces the computations of the specified inputs that match the given type signature

IEnumerable<ITraceEntry> TraceMany(Type[] inputTypes, Type outputType, IEnumerable<object[]> inputs)

Parameters

inputTypes Type[]

The input types

outputType Type

The output types

inputs IEnumerable<object[]>

A collection of input arguments

Returns

IEnumerable<ITraceEntry>

A collection of computations

TraceManyIn(GeneralTransformationRule, IEnumerable<object[]>)

Traces the computations of the specified inputs with the specified transformation rules

IEnumerable<ITraceEntry> TraceManyIn(GeneralTransformationRule rule, IEnumerable<object[]> inputs)

Parameters

rule GeneralTransformationRule

The transformation rules that transformed the specified inputs

inputs IEnumerable<object[]>

A collection of input arguments

Returns

IEnumerable<ITraceEntry>

A collection of computations