Class TaskParallelTransformationContext.TransformationContextTrace
- Namespace
- NMF.Transformations.Parallel.Tasks
- Assembly
- NMF.Transformations.Parallel.dll
Represents the trace class for TransformationContext
protected class TaskParallelTransformationContext.TransformationContextTrace : AbstractTrace, ITransformationTrace
- Inheritance
-
TaskParallelTransformationContext.TransformationContextTrace
- Implements
- Inherited Members
- Extension Methods
Constructors
TransformationContextTrace(TaskParallelTransformationContext)
Creates a new trace class for the given TraceContext
public TransformationContextTrace(TaskParallelTransformationContext context)
Parameters
contextTaskParallelTransformationContextThe trace class for which the trace should be generated
Properties
Computations
Gets a collection of the underlying computations
public override IEnumerable<ITraceEntry> Computations { get; }
Property Value
Methods
PublishEntry(ITraceEntry)
Publishes the given computation to the trace
public override void PublishEntry(ITraceEntry traceEntry)
Parameters
traceEntryITraceEntryThe computation that should be added to the trace
RevokeEntry(ITraceEntry)
Revokes the given computation and deletes it from the trace
public override void RevokeEntry(ITraceEntry traceEntry)
Parameters
traceEntryITraceEntryThe computation that is to be revoked
Trace(object[])
Traces the computations based upon the specified input
public override IEnumerable<ITraceEntry> Trace(object[] input)
Parameters
inputobject[]The input arguments
Returns
- IEnumerable<ITraceEntry>
The computations with the given inputs
TraceAllIn(GeneralTransformationRule)
Traces all computations with any inputs that math the given filters with the specified transformation rule
public override IEnumerable<ITraceEntry> TraceAllIn(GeneralTransformationRule rule)
Parameters
ruleGeneralTransformationRuleThe 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
public override IEnumerable<ITraceEntry> TraceIn(GeneralTransformationRule rule, params object[] input)
Parameters
ruleGeneralTransformationRuleThe transformation rule the object was transformed with
inputobject[]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
public override IEnumerable<ITraceEntry> TraceMany(Type[] inputTypes, Type outputType, IEnumerable<object[]> inputs)
Parameters
inputTypesType[]The input types
outputTypeTypeThe output types
inputsIEnumerable<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
public override IEnumerable<ITraceEntry> TraceManyIn(GeneralTransformationRule rule, IEnumerable<object[]> inputs)
Parameters
ruleGeneralTransformationRuleThe transformation rules that transformed the specified inputs
inputsIEnumerable<object[]>A collection of input arguments
Returns
- IEnumerable<ITraceEntry>
A collection of computations