Table of Contents

Class TransformationRuleBase<T>

Namespace
NMF.Transformations
Assembly
NMF.Transformations.dll

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

public abstract class TransformationRuleBase<T> : GeneralTransformationRule

Type Parameters

T

The type of the transformation rule output

Inheritance
TransformationRuleBase<T>
Derived
Inherited Members

Properties

OutputType

Gets the type signature of the output type of this transformation

public override Type OutputType { get; }

Property Value

Type

Methods

GetRule(Type)

Gets the rule with the specified type (exact match)

public GeneralTransformationRule GetRule(Type type)

Parameters

type Type

The type of the transformation rule

Returns

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

MarkInstantiatingFor(GeneralTransformationRule, Predicate<object[]>)

Marks the current transformation rule instantiating for the specified rule

public void MarkInstantiatingFor(GeneralTransformationRule rule, Predicate<object[]> filter)

Parameters

rule GeneralTransformationRule

The transformation rule

filter Predicate<object[]>

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