Show / Hide Table of Contents

Class TransformationComputation<TIn, TOut>

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

Inheritance
object
Computation
ComputationBase<TIn>
TransformationComputation<TIn, TOut>
Implements
IPersistor
ITraceEntry
Inherited Members
ComputationBase<TIn>.GetInput(int)
ComputationBase<TIn>.TransformationRule
ComputationBase<TIn>.Input
Computation.TransformationContext
Computation.Context
Computation.InputArguments
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<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 Source

TransformationComputation(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 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