Show / Hide Table of Contents

Class TransformationComputation<TIn1, TIn2, TOut>

Represents a computation that represents that a set of input arguments are transformed into an output of type TOut

Inheritance
object
Computation
ComputationBase<TIn1, TIn2>
TransformationComputation<TIn1, TIn2, TOut>
Implements
IPersistor
ITraceEntry
Inherited Members
ComputationBase<TIn1, TIn2>.GetInput(int)
ComputationBase<TIn1, TIn2>.TransformationRule
ComputationBase<TIn1, TIn2>.Input1
ComputationBase<TIn1, TIn2>.Input2
Computation.TransformationRule
Computation.TransformationContext
Computation.Context
Computation.InputArguments
Computation.GetInput(int)
Computation.CreateInputArray()
Computation.ThrowDelayedException()
Computation.MarkRequire(Computation, bool, ITransformationRuleDependency)
Computation.OutputInitialized
Computation.Computed
Computation.DelayOutputAtLeast(byte)
Computation.DelayTransformationAtLeast(byte)
Computation.OnOutputInitialized(EventArgs)
Computation.IsDelayed
Computation.OnComputed(EventArgs)
Computation.Transform()
Computation.CreateOutput(IEnumerable)
Computation.InitializeOutput(object)
Computation.SetBaseComputation(Computation)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Transformations
Assembly: NMF.Transformations.dll
Syntax
public abstract class TransformationComputation<TIn1, TIn2, TOut> : ComputationBase<TIn1, TIn2>, IPersistor, ITraceEntry where TIn1 : class where TIn2 : class where TOut : class
Type Parameters
Name Description
TIn1

The type of the first input parameter

TIn2

The type of the second input parameter

TOut

The type of the output

Constructors

| Edit this page View Source

TransformationComputation(TransformationRuleBase<TIn1, TIn2, TOut>, IComputationContext, TIn1, TIn2)

Creates a new transformation computation for the given input arguments

Declaration
protected TransformationComputation(TransformationRuleBase<TIn1, TIn2, TOut> transformationRule, IComputationContext context, TIn1 input1, TIn2 input2)
Parameters
Type Name Description
TransformationRuleBase<TIn1, TIn2, TOut> transformationRule

The transformation rule for this computation

IComputationContext context

The context of this computation

TIn1 input1

The first input for this computation

TIn2 input2

The second input for this computation

Properties

| Edit this page View Source

Output

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

| Edit this page View Source

OutputCore

Gets or sets the output in a derived class

Declaration
protected override object OutputCore { get; set; }
Property Value
Type Description
object
Overrides
Computation.OutputCore

Implements

IPersistor
ITraceEntry

Extension Methods

TraceEntryExtensions.CreateInputArray(ITraceEntry)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX