Class ParallelTransformationContext.TransformationContextTrace
Represents the trace class for TransformationContext
Implements
Inherited Members
Namespace: NMF.Transformations.Parallel
Assembly: NMF.Transformations.Parallel.dll
Syntax
protected class ParallelTransformationContext.TransformationContextTrace : AbstractTrace, ITransformationTrace
Constructors
| Edit this page View SourceTransformationContextTrace(ParallelTransformationContext)
Creates a new trace class for the given TraceContext
Declaration
public TransformationContextTrace(ParallelTransformationContext context)
Parameters
Type | Name | Description |
---|---|---|
ParallelTransformationContext | context | The trace class for which the trace should be generated |
Properties
| Edit this page View SourceComputations
Gets a collection of the underlying computations
Declaration
public override IEnumerable<ITraceEntry> Computations { get; }
Property Value
Type | Description |
---|---|
IEnumerable<ITraceEntry> |
Overrides
Methods
| Edit this page View SourcePublishEntry(ITraceEntry)
Publishes the given computation to the trace
Declaration
public override void PublishEntry(ITraceEntry traceEntry)
Parameters
Type | Name | Description |
---|---|---|
ITraceEntry | traceEntry | The computation that should be added to the trace |
Overrides
| Edit this page View SourceRevokeEntry(ITraceEntry)
Revokes the given computation and deletes it from the trace
Declaration
public override void RevokeEntry(ITraceEntry traceEntry)
Parameters
Type | Name | Description |
---|---|---|
ITraceEntry | traceEntry | The computation that is to be revoked |
Overrides
| Edit this page View SourceTrace(object[])
Traces the computations based upon the specified input
Declaration
public override IEnumerable<ITraceEntry> Trace(object[] input)
Parameters
Type | Name | Description |
---|---|---|
object[] | input | The input arguments |
Returns
Type | Description |
---|---|
IEnumerable<ITraceEntry> | The computations with the given inputs |
Overrides
| Edit this page View SourceTraceAllIn(GeneralTransformationRule)
Traces all computations with any inputs that math the given filters with the specified transformation rule
Declaration
public override IEnumerable<ITraceEntry> TraceAllIn(GeneralTransformationRule rule)
Parameters
Type | Name | Description |
---|---|---|
GeneralTransformationRule | rule | The transformation rule |
Returns
Type | Description |
---|---|
IEnumerable<ITraceEntry> | A collection with all computations made under these circumstances |
Overrides
| Edit this page View SourceTraceIn(GeneralTransformationRule, params object[])
Traces the computation based upon the specified input with the specified transformation rule
Declaration
public override IEnumerable<ITraceEntry> TraceIn(GeneralTransformationRule rule, params object[] input)
Parameters
Type | Name | Description |
---|---|---|
GeneralTransformationRule | rule | The transformation rule the object was transformed with |
object[] | input | The input arguments |
Returns
Type | Description |
---|---|
IEnumerable<ITraceEntry> | The computation or null, if there was none |
Overrides
| Edit this page View SourceTraceMany(Type[], Type, IEnumerable<object[]>)
Traces the computations of the specified inputs that match the given type signature
Declaration
public override IEnumerable<ITraceEntry> TraceMany(Type[] inputTypes, Type outputType, IEnumerable<object[]> inputs)
Parameters
Type | Name | Description |
---|---|---|
Type[] | inputTypes | The input types |
Type | outputType | The output types |
IEnumerable<object[]> | inputs | A collection of input arguments |
Returns
Type | Description |
---|---|
IEnumerable<ITraceEntry> | A collection of computations |
Overrides
| Edit this page View SourceTraceManyIn(GeneralTransformationRule, IEnumerable<object[]>)
Traces the computations of the specified inputs with the specified transformation rules
Declaration
public override IEnumerable<ITraceEntry> TraceManyIn(GeneralTransformationRule rule, IEnumerable<object[]> inputs)
Parameters
Type | Name | Description |
---|---|---|
GeneralTransformationRule | rule | The transformation rules that transformed the specified inputs |
IEnumerable<object[]> | inputs | A collection of input arguments |
Returns
Type | Description |
---|---|
IEnumerable<ITraceEntry> | A collection of computations |