Table of Contents

Class TransformationRunner

Namespace
NMF.Transformations.Core
Assembly
NMF.Transformations.Core.dll

Service class to run transformations

public static class TransformationRunner
Inheritance
TransformationRunner
Inherited Members

Methods

Transform(object[], IEnumerable, GeneralTransformationRule, ITransformationEngineContext)

Transforms the input argument into an output using the provided transformation

public static Computation Transform(object[] input, IEnumerable inputContext, GeneralTransformationRule startRule, ITransformationEngineContext context)

Parameters

input object[]

The input arguments as an array. This must not be null. The correct amount of parameters depends on the rule to start with.

inputContext IEnumerable

The context in which the transformation rule is executed

startRule GeneralTransformationRule

The start rule to begin with (must not be null)

context ITransformationEngineContext

The transformation context (must not be null)

Returns

Computation

The transformation computation

TransformMany(IEnumerable<object[]>, IEnumerable, GeneralTransformationRule, ITransformationEngineContext)

Transforms the input argument into an output using the provided transformation

public static IEnumerable<Computation> TransformMany(IEnumerable<object[]> inputs, IEnumerable inputContext, GeneralTransformationRule startRule, ITransformationEngineContext context)

Parameters

inputs IEnumerable<object[]>

The input arguments as an array. This must not be null. The correct amount of parameters depends on the rule to start with.

inputContext IEnumerable

The context object in which the transformation is run

startRule GeneralTransformationRule

The start rule to begin with (must not be null)

context ITransformationEngineContext

The transformation context (must not be null)

Returns

IEnumerable<Computation>

The transformation computations