Show / Hide Table of Contents

Class TransformationRuleBase<T>

This class is used to describe transformation rules that have more than two input arguments

Inheritance
object
GeneralTransformationRule
TransformationRuleBase<T>
TransformationRule<T>
Inherited Members
GeneralTransformationRule.RegisterDependencies()
GeneralTransformationRule.InputType
GeneralTransformationRule.CreateComputation(object[], IComputationContext)
GeneralTransformationRule.NeedDependenciesForOutputCreation
GeneralTransformationRule.Transformation
GeneralTransformationRule.Dependencies
GeneralTransformationRule.OutputDelayLevel
GeneralTransformationRule.TransformationDelayLevel
GeneralTransformationRule.IsUnique
GeneralTransformationRule.BaseRule
GeneralTransformationRule.IsInstantiating(Computation)
GeneralTransformationRule.HasCompliantInput(Computation)
GeneralTransformationRule.Require(GeneralTransformationRule)
GeneralTransformationRule.Call(GeneralTransformationRule)
GeneralTransformationRule.MarkInstantiatingFor(GeneralTransformationRule)
GeneralTransformationRule.MarkInstantiatingFor(GeneralTransformationRule, Predicate<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 TransformationRuleBase<T> : GeneralTransformationRule
Type Parameters
Name Description
T

The type of the transformation rule output

Properties

| Edit this page View Source

OutputType

Gets the type signature of the output type of this transformation

Declaration
public override Type OutputType { get; }
Property Value
Type Description
Type
Overrides
GeneralTransformationRule.OutputType

Methods

| Edit this page View Source

GetRule(Type)

Gets the rule with the specified type (exact match)

Declaration
public GeneralTransformationRule GetRule(Type type)
Parameters
Type Name Description
Type type

The type of the transformation rule

Returns
Type Description
GeneralTransformationRule

The transformation rule with this type or null, if there is none

Remarks

This method assumes there is only one transformation rule per type

| Edit this page View Source

MarkInstantiatingFor(GeneralTransformationRule, Predicate<object[]>)

Marks the current transformation rule instantiating for the specified rule

Declaration
public void MarkInstantiatingFor(GeneralTransformationRule rule, Predicate<object[]> filter)
Parameters
Type Name Description
GeneralTransformationRule rule

The transformation rule

Predicate<object[]> filter

The filter that should filter the inputs where this transformation rule is marked instantiating

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX