Show / Hide Table of Contents

Class TransformationRuleBase<TIn1, TIn2, TOut>

Defines a transformation rule of a transformation that has two input arguments and an output

Inheritance
object
GeneralTransformationRule
GeneralTransformationRule<TIn1, TIn2>
TransformationRuleBase<TIn1, TIn2, TOut>
TransformationRule<TIn1, TIn2, TOut>
Inherited Members
GeneralTransformationRule<TIn1, TIn2>.MarkInstantiatingFor(GeneralTransformationRule, Func<TIn1, TIn2, bool>)
GeneralTransformationRule<TIn1, TIn2>.Rule<TRule>()
GeneralTransformationRule<TIn1, TIn2>.InputType
GeneralTransformationRule<TIn1, TIn2>.WithPattern(ITransformationRulePattern<TIn1, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.WithPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.WithPattern(Func<ITransformationContext, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.RequireByType<TRequiredInput1, TRequiredInput2>()
GeneralTransformationRule<TIn1, TIn2>.RequireByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)
GeneralTransformationRule<TIn1, TIn2>.RequireByType<TRequiredInput>(Func<TIn1, TIn2, TRequiredInput>)
GeneralTransformationRule<TIn1, TIn2>.Require(GeneralTransformationRule<TIn1, TIn2>, Func<TIn1, TIn2, bool>)
GeneralTransformationRule<TIn1, TIn2>.Require<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)
GeneralTransformationRule<TIn1, TIn2>.Require<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TRequiredInput>)
GeneralTransformationRule<TIn1, TIn2>.Require(GeneralTransformationRule, Func<TIn1, TIn2, object[]>)
GeneralTransformationRule<TIn1, TIn2>.RequireManyByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>)
GeneralTransformationRule<TIn1, TIn2>.RequireManyByType<TRequiredInput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)
GeneralTransformationRule<TIn1, TIn2>.RequireMany<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>)
GeneralTransformationRule<TIn1, TIn2>.RequireMany<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)
GeneralTransformationRule<TIn1, TIn2>.CallByType<TRequiredInput1, TRequiredInput2>()
GeneralTransformationRule<TIn1, TIn2>.Call<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>)
GeneralTransformationRule<TIn1, TIn2>.CallByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)
GeneralTransformationRule<TIn1, TIn2>.CallByType<TRequiredInput>(Func<TIn1, TIn2, TRequiredInput>)
GeneralTransformationRule<TIn1, TIn2>.Call<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)
GeneralTransformationRule<TIn1, TIn2>.Call(GeneralTransformationRule<TIn1, TIn2>, Func<TIn1, TIn2, bool>)
GeneralTransformationRule<TIn1, TIn2>.Call<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TRequiredInput>)
GeneralTransformationRule<TIn1, TIn2>.CallManyByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallManyByType<TRequiredInput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)
GeneralTransformationRule<TIn1, TIn2>.CallMany<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallMany<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>, Func<TRequiredInput1, TRequiredInput2, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>, Func<TRequiredInput1, TRequiredInput2, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput>(Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput>(Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Func<TRequiredInput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallFor<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Func<TRequiredInput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>, Func<TRequiredInput, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>)
GeneralTransformationRule<TIn1, TIn2>.CallForOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>, Func<TRequiredInput, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput>(Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput>(Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEach<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)
GeneralTransformationRule<TIn1, TIn2>.CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, TRequiredOutput, bool>)
GeneralTransformationRule<TIn1, TIn2>.CallFor(GeneralTransformationRule, Func<Computation, Tuple<TIn1, TIn2>>, bool)
GeneralTransformationRule<TIn1, TIn2>.CallFor(GeneralTransformationRule, Func<Computation, Tuple<TIn1, TIn2>>, Predicate<Computation>, bool)
GeneralTransformationRule<TIn1, TIn2>.CallForEach(GeneralTransformationRule, Func<Computation, IEnumerable<Tuple<TIn1, TIn2>>>, bool)
GeneralTransformationRule<TIn1, TIn2>.CallForEach(GeneralTransformationRule, Func<Computation, IEnumerable<Tuple<TIn1, TIn2>>>, Predicate<Computation>, bool)
GeneralTransformationRule<TIn1, TIn2>.RequireMany(GeneralTransformationRule, Func<TIn1, TIn2, IEnumerable<object[]>>)
GeneralTransformationRule<TIn1, TIn2>.Call(GeneralTransformationRule, Func<TIn1, TIn2, object[]>)
GeneralTransformationRule<TIn1, TIn2>.CallMany(GeneralTransformationRule, Func<TIn1, TIn2, IEnumerable<object[]>>)
GeneralTransformationRule<TIn1, TIn2>.ToString()
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<TIn1, TIn2, TOut> : GeneralTransformationRule<TIn1, TIn2>
Type Parameters
Name Description
TIn1

The type of the first input argument

TIn2

The type of the second input argument

TOut

The type of the output

Properties

| Edit this page View Source

OutputType

Gets the output type of this transformation rule

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

Methods

| Edit this page View Source

CallByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput>, Action<TOut, TRequiredOutput>)

Calls all transformation rules that transform items from S to T after the current transformation rule

Declaration
public void CallByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput> selector, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input for the dependent transformations

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformations

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

CallByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Action<TOut, TRequiredOutput>)

Calls all transformation rules that transform items from S to T after the current transformation rule

Declaration
public void CallByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformations

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

Remarks

This version Always takes the input parameter as input for the dependent transformations. Thus, this method will throw an exception, if the types do not match

| Edit this page View Source

CallByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>, Action<TOut, TRequiredOutput>)

Calls all transformation rules that transform items from S to T after the current transformation rule

Declaration
public void CallByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, TRequiredInput1> selector1

A method that selects the first input for the dependent transformations

Func<TIn1, TIn2, TRequiredInput2> selector2

A method that selects the second input for the dependent transformation

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformations

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

CallForEach<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the inputs for this transformation rule

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the outputs of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallForEach<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, bool>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput, bool> filter, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the input for this transformation rule

Func<TRequiredInput, bool> filter

A method that filters the applicable instances of S

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallForEach<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the inputs for this transformation rule

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the outputs of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallForEach<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, bool>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput, bool> filter, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the input for this transformation rule

Func<TRequiredInput, bool> filter

A method that filters the applicable instances of S

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the inputs for this transformation rule

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the outputs of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, bool>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput1, TRequiredInput2, bool> filter, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the applicable instances of S

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the inputs for this transformation rule

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the outputs of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, bool>, Action<TRequiredOutput, IEnumerable<TOut>>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made This version calls this transformation rule for a whol collection of input objects

Declaration
public void CallForEach<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput1, TRequiredInput2, bool> filter, Action<TRequiredOutput, IEnumerable<TOut>> persistor)
Parameters
Type Name Description
Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector

A method that selects the input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the applicable instances of S

Action<TRequiredOutput, IEnumerable<TOut>> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallFor<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, TIn1> selector1, Func<TRequiredInput, TIn2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput, TIn1> selector1

A method that selects the frist input for this transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input for this transformation rule

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallFor<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Func<TRequiredInput, bool>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, TIn1> selector1, Func<TRequiredInput, TIn2> selector2, Func<TRequiredInput, bool> filter, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput, TIn1> selector1

A method that selects the first input for this transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input for this transformation rule

Func<TRequiredInput, bool> filter

A method that filters the applicable instances of S

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallFor<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TIn1> selector1, Func<TRequiredInput, TIn2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TRequiredInput, TIn1> selector1

A method that selects the frist input for this transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input for this transformation rule

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallFor<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Func<TRequiredInput, bool>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TIn1> selector1, Func<TRequiredInput, TIn2> selector2, Func<TRequiredInput, bool> filter, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TRequiredInput, TIn1> selector1

A method that selects the first input for this transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input for this transformation rule

Func<TRequiredInput, bool> filter

A method that filters the applicable instances of S

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the frist input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input for this transformation rule

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>, Func<TRequiredInput1, TRequiredInput2, bool>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2, Func<TRequiredInput1, TRequiredInput2, bool> filter, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the first input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the applicable instances of S

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the frist input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input for this transformation rule

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>, Func<TRequiredInput1, TRequiredInput2, bool>, Action<TOut, TRequiredOutput>)

Create a call dependency, i.e., let this transformation be called as soon as a transformation from S to T is made

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2, Func<TRequiredInput1, TRequiredInput2, bool> filter, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the first input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input for this transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the applicable instances of S

Action<TOut, TRequiredOutput> persistor

A method that persists the output of this rule back to the source instance

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the source transformation rule

| Edit this page View Source

CallManyByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Calls all transformation rules that transform S to T with all of the specified objects after the current transformation rule

Declaration
public void CallManyByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

CallManyByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Calls all transformation rules that transform S to T with all of the specified objects after the current transformation rule

Declaration
public void CallManyByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

CallManyOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TOut, IEnumerable<TRequiredInput>>)

Calls the transformation rule with the given type after the current transformation rule for all inputs, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallManyOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, TOut, IEnumerable<TRequiredInput>> selector)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformation rule

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallManyOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TOut, IEnumerable<TRequiredInput>>, Func<TIn1, TIn2, TOut, bool>)

Calls the transformation rule with the given type after the current transformation rule for all inputs, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallManyOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, TOut, IEnumerable<TRequiredInput>> selector, Func<TIn1, TIn2, TOut, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformation rule

Func<TIn1, TIn2, TOut, bool> filter

A method that filters the cases where the dependency should fire

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallManyOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TOut, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>)

Calls the transformation rule with the given type after the current transformation rule for all inputs, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallManyOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, TOut, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformation rule

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument for the called transformation

TRequiredInput2

The second input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallManyOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TOut, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>, Func<TIn1, TIn2, TOut, bool>)

Calls the transformation rule with the given type after the current transformation rule for all inputs, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallManyOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, TOut, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector, Func<TIn1, TIn2, TOut, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformation rule

Func<TIn1, TIn2, TOut, bool> filter

A method that filters the cases where the dependency should fire

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument for the called transformation

TRequiredInput2

The second input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallMany<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TIn1, TIn2, IEnumerable<TRequiredInput>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Calls the transformation rule with the given type with all of the specified inputs after the current transformation rule

Declaration
public ITransformationRuleDependency CallMany<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallMany<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Calls the transformation rule with the given type with all of the specified inputs after the current transformation rule

Declaration
public ITransformationRuleDependency CallMany<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TOut, TRequiredInput>)

Calls the transformation rule with the given type after the current transformation rule, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, TOut, TRequiredInput> selector)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, TRequiredInput> selector

A method that selects the input for the dependent transformation rule

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TOut, TRequiredInput>, Func<TIn1, TIn2, TOut, bool>)

Calls the transformation rule with the given type after the current transformation rule, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallOutputSensitive<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, TOut, TRequiredInput> selector, Func<TIn1, TIn2, TOut, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, TRequiredInput> selector

A method that selects the input for the dependent transformation rule

Func<TIn1, TIn2, TOut, bool> filter

A method that filters the cases where the dependency should fire

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TOut, TRequiredInput1>, Func<TIn1, TIn2, TOut, TRequiredInput2>)

Calls the transformation rule with the given type after the current transformation rule, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, TOut, TRequiredInput1> selector1, Func<TIn1, TIn2, TOut, TRequiredInput2> selector2)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, TRequiredInput1> selector1

A method that selects the first input for the dependent transformation rule

Func<TIn1, TIn2, TOut, TRequiredInput2> selector2

A method that selects the second input for the dependent transformation rule

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument for the called transformation

TRequiredInput2

The second input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

CallOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TOut, TRequiredInput1>, Func<TIn1, TIn2, TOut, TRequiredInput2>, Func<TIn1, TIn2, TOut, bool>)

Calls the transformation rule with the given type after the current transformation rule, but no earlier than it created its output

Declaration
public ITransformationRuleDependency CallOutputSensitive<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, TOut, TRequiredInput1> selector1, Func<TIn1, TIn2, TOut, TRequiredInput2> selector2, Func<TIn1, TIn2, TOut, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The dependent transformation rule

Func<TIn1, TIn2, TOut, TRequiredInput1> selector1

A method that selects the first input for the dependent transformation rule

Func<TIn1, TIn2, TOut, TRequiredInput2> selector2

A method that selects the second input for the dependent transformation rule

Func<TIn1, TIn2, TOut, bool> filter

A method that filters the cases where the dependency should fire

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument for the called transformation

TRequiredInput2

The second input argument for the called transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

Call<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TIn1, TIn2, TRequiredInput>, Action<TOut, TRequiredOutput>)

Calls the transformation rule with the given type after the current transformation rule

Declaration
public ITransformationRuleDependency Call<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TIn1, TIn2, TRequiredInput> selector, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input for the dependent transformation

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

Call<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Action<TOut, TRequiredOutput>)

Calls the transformation rule with the given type after the current transformation rule

Declaration
public ITransformationRuleDependency Call<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Remarks

This version Always takes the input parameter as input for the dependent transformations. Thus, this method will throw an exception, if the types do not match

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

Call<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>, Action<TOut, TRequiredOutput>)

Calls the transformation rule with the given type after the current transformation rule

Declaration
public ITransformationRuleDependency Call<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, TRequiredInput1> selector1

A method that selects the frist input for the dependent transformation

Func<TIn1, TIn2, TRequiredInput2> selector2

A method that selects the second input for the dependent transformation

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

MarkInstantiatingFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>()

Marks the current transformation rule instantiating for every rule from S to T

Declaration
public void MarkInstantiatingFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>()
Type Parameters
Name Description
TRequiredInput1

The first input argument type

TRequiredInput2

The second input argument type

TRequiredOutput

The output argument type

| Edit this page View Source

MarkInstantiatingFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, bool>)

Marks the current transformation rule instantiating for every rule from S to T

Declaration
public void MarkInstantiatingFor<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, bool> filter)
Parameters
Type Name Description
Func<TIn1, TIn2, bool> filter

The filter that should be used to filter the inputs

Type Parameters
Name Description
TRequiredInput1

The first input argument type

TRequiredInput2

The second input argument type

TRequiredOutput

The output argument type

| Edit this page View Source

RequireByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput>, Action<TOut, TRequiredOutput>)

Requires all transformation rules that transform items from S to T

Declaration
public void RequireByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput> selector, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input for the dependent transformations

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformations

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

RequireByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Action<TOut, TRequiredOutput>)

Requires all transformation rules that transform items from S to T

Declaration
public void RequireByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformations

Type Parameters
Name Description
TRequiredInput1

The first input argument type

TRequiredInput2

The second input argument type

TRequiredOutput

The output type of the dependent transformations

Remarks

This version Always takes the input parameter as input for the dependent transformations. Thus, this method will throw an exception, if the types do not match

| Edit this page View Source

RequireByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>, Action<TOut, TRequiredOutput>)

Requires all transformation rules that transform items from S to T

Declaration
public void RequireByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, TRequiredInput1> selector1

A method that selects the first input for the dependent transformations

Func<TIn1, TIn2, TRequiredInput2> selector2

A method that selects the second input for the dependent transformations

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformations

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

RequireManyByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Requires all transformation rules that transform S to T with all of the specified objects

Declaration
public void RequireManyByType<TRequiredInput, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

RequireManyByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Requires all transformation rules that transform S to T with all of the specified objects

Declaration
public void RequireManyByType<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

| Edit this page View Source

RequireMany<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TIn1, TIn2, IEnumerable<TRequiredInput>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Requires the transformation rule with the given type with all of the specified inputs

Declaration
public ITransformationRuleDependency RequireMany<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The first input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

RequireMany<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>>, Action<TOut, IEnumerable<TRequiredOutput>>)

Requires the transformation rule with the given type with all of the specified inputs

Declaration
public ITransformationRuleDependency RequireMany<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector, Action<TOut, IEnumerable<TRequiredOutput>> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformations

Action<TOut, IEnumerable<TRequiredOutput>> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

Require<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TIn1, TIn2, TRequiredInput>, Action<TOut, TRequiredOutput>)

Requires the transformation rule with the given type

Declaration
public ITransformationRuleDependency Require<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TIn1, TIn2, TRequiredInput> selector, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input for the dependent transformations

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

Require<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Action<TOut, TRequiredOutput>)

Requires the transformation rule with the given type

Declaration
public ITransformationRuleDependency Require<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformation

Remarks

This version Always takes the input parameter as input for the dependent transformations. Thus, this method will throw an exception, if the types do not match

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

Require<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>, Action<TOut, TRequiredOutput>)

Requires the transformation rule with the given type

Declaration
public ITransformationRuleDependency Require<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2, Action<TOut, TRequiredOutput> persistor)
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The dependent transformation rule

Func<TIn1, TIn2, TRequiredInput1> selector1

A method that selects the first input for the dependent transformations

Func<TIn1, TIn2, TRequiredInput2> selector2

A method that selects the second input for the dependent transformations

Action<TOut, TRequiredOutput> persistor

A method that persists the result of the dependent transformation

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformation

TRequiredInput2

The second input argument type of the dependent transformation

TRequiredOutput

The output type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown whenever a null reference is passed to the rule parameter

| Edit this page View Source

TraceOutput<TKey>(TraceEntryGroup<TKey, TOut>, Func<TIn1, TIn2, TOut, TKey>)

Creates a trace entry for every computation with the key specified by the given selector method

Declaration
public ITransformationRuleDependency TraceOutput<TKey>(TraceEntryGroup<TKey, TOut> traceKey, Func<TIn1, TIn2, TOut, TKey> traceSelector)
Parameters
Type Name Description
TraceEntryGroup<TKey, TOut> traceKey

The transformation rule that is used as group for direct tracing purposes

Func<TIn1, TIn2, TOut, TKey> traceSelector

A method that selects for an input the appropriate key that should be added to the trace

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TKey

The type of the trace entry key

| Edit this page View Source

TraceOutput<TKey>(Func<TIn1, TIn2, TOut, TKey>)

Creates a trace entry for every computation with the key specified by the given selector method

Declaration
public TraceEntryGroup<TKey, TOut> TraceOutput<TKey>(Func<TIn1, TIn2, TOut, TKey> traceSelector)
Parameters
Type Name Description
Func<TIn1, TIn2, TOut, TKey> traceSelector

A method that selects for an input the appropriate key that should be added to the trace

Returns
Type Description
TraceEntryGroup<TKey, TOut>

A transformation rule that can be used as group or for direct tracing purposes

Type Parameters
Name Description
TKey

The type of the trace entry key

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