Table of Contents

Class TransformationComputation<TIn, 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<TIn, TOut> : ComputationBase<TIn>, IPersistor, ITraceEntry where TIn : class where TOut : class

Type Parameters

TIn

The type of the input parameter

TOut

The type of the output

Inheritance
TransformationComputation<TIn, TOut>
Implements
Inherited Members
Extension Methods

Constructors

TransformationComputation(TransformationRuleBase<TIn, TOut>, IComputationContext, TIn)

Creates a new transformation computation for the given input arguments

protected TransformationComputation(TransformationRuleBase<TIn, TOut> transformationRule, IComputationContext context, TIn input)

Parameters

transformationRule TransformationRuleBase<TIn, TOut>

The transformation rule for this computation

context IComputationContext

The context of this computation

input TIn

The 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