Class TransformationRunner
Service class to run transformations
Inherited Members
Namespace: NMF.Transformations.Core
Assembly: NMF.Transformations.Core.dll
Syntax
public static class TransformationRunner
Methods
| Edit this page View SourceTransform(object[], IEnumerable, GeneralTransformationRule, ITransformationEngineContext)
Transforms the input argument into an output using the provided transformation
Declaration
public static Computation Transform(object[] input, IEnumerable inputContext, GeneralTransformationRule startRule, ITransformationEngineContext context)
Parameters
Type | Name | Description |
---|---|---|
object[] | input | The input arguments as an array. This must not be null. The correct amount of parameters depends on the rule to start with. |
IEnumerable | inputContext | The context in which the transformation rule is executed |
GeneralTransformationRule | startRule | The start rule to begin with (must not be null) |
ITransformationEngineContext | context | The transformation context (must not be null) |
Returns
Type | Description |
---|---|
Computation | The transformation computation |
TransformMany(IEnumerable<object[]>, IEnumerable, GeneralTransformationRule, ITransformationEngineContext)
Transforms the input argument into an output using the provided transformation
Declaration
public static IEnumerable<Computation> TransformMany(IEnumerable<object[]> inputs, IEnumerable inputContext, GeneralTransformationRule startRule, ITransformationEngineContext context)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<object[]> | inputs | The input arguments as an array. This must not be null. The correct amount of parameters depends on the rule to start with. |
IEnumerable | inputContext | The context object in which the transformation is run |
GeneralTransformationRule | startRule | The start rule to begin with (must not be null) |
ITransformationEngineContext | context | The transformation context (must not be null) |
Returns
Type | Description |
---|---|
IEnumerable<Computation> | The transformation computations |