Table of Contents

Class TransformationComputation<TIn1, TIn2, TOut>

Namespace
NMF.Transformations
Assembly
NMF.Transformations.dll

Represents a computation that represents that a set of input arguments are transformed into an output of type TOut

public abstract class TransformationComputation<TIn1, TIn2, TOut> : ComputationBase<TIn1, TIn2>, IPersistor, ITraceEntry where TIn1 : class where TIn2 : class where TOut : class

Type Parameters

TIn1

The type of the first input parameter

TIn2

The type of the second input parameter

TOut

The type of the output

Inheritance
ComputationBase<TIn1, TIn2>
TransformationComputation<TIn1, TIn2, TOut>
Implements
Inherited Members
Extension Methods

Constructors

TransformationComputation(TransformationRuleBase<TIn1, TIn2, TOut>, IComputationContext, TIn1, TIn2)

Creates a new transformation computation for the given input arguments

protected TransformationComputation(TransformationRuleBase<TIn1, TIn2, TOut> transformationRule, IComputationContext context, TIn1 input1, TIn2 input2)

Parameters

transformationRule TransformationRuleBase<TIn1, TIn2, TOut>

The transformation rule for this computation

context IComputationContext

The context of this computation

input1 TIn1

The first input for this computation

input2 TIn2

The second input for this computation

Properties

Output

Gets the output of this computation

public TOut Output { get; }

Property Value

TOut

Exceptions

InvalidOperationException

This property may throw a DelayedOutputCreationException in case that the output has been tried to access, although the output creation was delayed

OutputCore

Gets or sets the output in a derived class

protected override object OutputCore { get; set; }

Property Value

object