Table of Contents

Class AbstractTransformationRule<TIn, TOut>

Namespace
NMF.Transformations
Assembly
NMF.Transformations.dll

Defines a transformation rule with a single input argument that is abstract, i.e. it cannot create an output This means that there must exist transformation rules that are marked instantiating for this rule.

public abstract class AbstractTransformationRule<TIn, TOut> : TransformationRule<TIn, TOut> where TIn : class where TOut : class

Type Parameters

TIn

The type of the input argument for this transformation rule

TOut

The type of output, that is generated in an instantiating rule

Inheritance
AbstractTransformationRule<TIn, TOut>
Derived
Inherited Members
Extension Methods

Methods

CreateOutput(TIn, ITransformationContext)

Creates the output of this transformation rule

public override TOut CreateOutput(TIn input, ITransformationContext context)

Parameters

input TIn

The input argument for this computation

context ITransformationContext

The context in which the output is required

Returns

TOut

The output for this transformation

Remarks

Creation of transformation rule outputs is not supported for abstract transformation rules and thus, calling this method will result in an InvalidOperationException