Class TransformationComputation<TIn, TOut>
Represents a computation that represents that a set of input arguments are transformed into an output of type TOut
Inherited Members
Namespace: NMF.Transformations
Assembly: NMF.Transformations.dll
Syntax
public abstract class TransformationComputation<TIn, TOut> : ComputationBase<TIn>, IPersistor, ITraceEntry where TIn : class where TOut : class
Type Parameters
Name | Description |
---|---|
TIn | The type of the input parameter |
TOut | The type of the output |
Constructors
| Edit this page View SourceTransformationComputation(TransformationRuleBase<TIn, TOut>, IComputationContext, TIn)
Creates a new transformation computation for the given input arguments
Declaration
protected TransformationComputation(TransformationRuleBase<TIn, TOut> transformationRule, IComputationContext context, TIn input)
Parameters
Type | Name | Description |
---|---|---|
TransformationRuleBase<TIn, TOut> | transformationRule | The transformation rule for this computation |
IComputationContext | context | The context of this computation |
TIn | input | The input for this computation |
Properties
| Edit this page View SourceOutput
Gets the output of this computation
Declaration
public TOut Output { get; }
Property Value
Type | Description |
---|---|
TOut |
Exceptions
Type | Condition |
---|---|
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
Declaration
protected override object OutputCore { get; set; }
Property Value
Type | Description |
---|---|
object |