C# Class NMF.Transformations.Core.TransformationRunner

Service class to run transformations
Show file Open project: NMFCode/NMF

Public Methods

Method Description
Transform ( object input, IEnumerable inputContext, NMF.Transformations.Core.GeneralTransformationRule startRule, ITransformationEngineContext context ) : NMF.Transformations.Core.Computation

Transforms the input argument into an output using the provided transformation

TransformMany ( IEnumerable inputs, IEnumerable inputContext, NMF.Transformations.Core.GeneralTransformationRule startRule, ITransformationEngineContext context ) : IEnumerable

Transforms the input argument into an output using the provided transformation

Method Details

Transform() public static method

Transforms the input argument into an output using the provided transformation
public static Transform ( object input, IEnumerable inputContext, NMF.Transformations.Core.GeneralTransformationRule startRule, ITransformationEngineContext context ) : NMF.Transformations.Core.Computation
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 NMF.Transformations.Core.GeneralTransformationRule The start rule to begin with (must not be null)
context ITransformationEngineContext The transformation context (must not be null)
return NMF.Transformations.Core.Computation

TransformMany() public static method

Transforms the input argument into an output using the provided transformation
public static TransformMany ( IEnumerable inputs, IEnumerable inputContext, NMF.Transformations.Core.GeneralTransformationRule startRule, ITransformationEngineContext context ) : IEnumerable
inputs IEnumerable 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 NMF.Transformations.Core.GeneralTransformationRule The start rule to begin with (must not be null)
context ITransformationEngineContext The transformation context (must not be null)
return IEnumerable