Show / Hide Table of Contents

Class GeneralTransformationRule<TIn1, TIn2>

Defines a transformation rule of a transformation that has one input argument

Inheritance
object
GeneralTransformationRule
GeneralTransformationRule<TIn1, TIn2>
InPlaceTransformationRuleBase<TIn1, TIn2>
TransformationRuleBase<TIn1, TIn2, TOut>
Inherited Members
GeneralTransformationRule.RegisterDependencies()
GeneralTransformationRule.OutputType
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)
Namespace: NMF.Transformations
Assembly: NMF.Transformations.dll
Syntax
public abstract class GeneralTransformationRule<TIn1, TIn2> : GeneralTransformationRule
Type Parameters
Name Description
TIn1

The type of the first input argument

TIn2

The type of the second input argument

Properties

| Edit this page View Source

InputType

Gets the type signature of the input arguments of this transformation rule

Declaration
public override sealed Type[] InputType { get; }
Property Value
Type Description
Type[]
Overrides
GeneralTransformationRule.InputType

Methods

| Edit this page View Source

Call(GeneralTransformationRule, Func<TIn1, TIn2, object[]>)

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

Declaration
public ITransformationRuleDependency Call(GeneralTransformationRule rule, Func<TIn1, TIn2, object[]> selector)
Parameters
Type Name Description
GeneralTransformationRule rule

The dependent transformation rule

Func<TIn1, TIn2, object[]> selector

A method that selects the input for the dependent computations

Returns
Type Description
ITransformationRuleDependency
Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

Call(GeneralTransformationRule<TIn1, TIn2>, Func<TIn1, TIn2, bool>)

Requires the given transformation rule with the same input types and a filter

Declaration
public void Call(GeneralTransformationRule<TIn1, TIn2> rule, Func<TIn1, TIn2, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule<TIn1, TIn2> rule

The transformation rule

Func<TIn1, TIn2, bool> filter

The filter method

| Edit this page View Source

CallByType<TRequiredInput>(Func<TIn1, TIn2, TRequiredInput>)

Calls all transformation rules that match the given input type signature

Declaration
public void CallByType<TRequiredInput>(Func<TIn1, TIn2, TRequiredInput> selector) where TRequiredInput : class
Parameters
Type Name Description
Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input arguzment for the dependent transformation rules

Type Parameters
Name Description
TRequiredInput

The type of the input argument of dependent transformation rules

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallByType<TRequiredInput1, TRequiredInput2>()

Calls the transformation rules that match the given input types with the same inputs

Declaration
public void CallByType<TRequiredInput1, TRequiredInput2>() where TRequiredInput1 : class where TRequiredInput2 : class
Type Parameters
Name Description
TRequiredInput1

The first input type of the dependent transformation rule

TRequiredInput2

The second input type of the dependent transformation rule

| Edit this page View Source

CallByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)

Calls the transformation rules that match the given input type signature

Declaration
public void CallByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class
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

Type Parameters
Name Description
TRequiredInput1

The first input type of the dependent transformation rules

TRequiredInput2

The second input type of the dependent transformation rules

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector1 parameter

ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector2 parameter

| Edit this page View Source

CallFor(GeneralTransformationRule, Func<Computation, Tuple<TIn1, TIn2>>, bool)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallFor(GeneralTransformationRule rule, Func<Computation, Tuple<TIn1, TIn2>> selector, bool needOutput)
Parameters
Type Name Description
GeneralTransformationRule rule

The transformation rule that act as trigger for the current transformation rule

Func<Computation, Tuple<TIn1, TIn2>> selector

A method that selects the input parameters for the current transformation rule

bool needOutput

True, if the call must be made after the output of the trigger rule is created, otherwise false

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallFor(GeneralTransformationRule, Func<Computation, Tuple<TIn1, TIn2>>, Predicate<Computation>, bool)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallFor(GeneralTransformationRule rule, Func<Computation, Tuple<TIn1, TIn2>> selector, Predicate<Computation> filter, bool needOutput)
Parameters
Type Name Description
GeneralTransformationRule rule

The transformation rule that act as trigger for the current transformation rule

Func<Computation, Tuple<TIn1, TIn2>> selector

A method that selects the input parameters for the current transformation rule

Predicate<Computation> filter

A method to filter the objects where the reversed dependency is applicable

bool needOutput

True, if the call must be made after the output of the trigger rule is created, otherwise false

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallForEach(GeneralTransformationRule, Func<Computation, IEnumerable<Tuple<TIn1, TIn2>>>, bool)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEach(GeneralTransformationRule rule, Func<Computation, IEnumerable<Tuple<TIn1, TIn2>>> selector, bool needOutput)
Parameters
Type Name Description
GeneralTransformationRule rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

bool needOutput

True, if the call must be made after the output of the trigger rule is created, otherwise false

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEach(GeneralTransformationRule, Func<Computation, IEnumerable<Tuple<TIn1, TIn2>>>, Predicate<Computation>, bool)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEach(GeneralTransformationRule rule, Func<Computation, IEnumerable<Tuple<TIn1, TIn2>>> selector, Predicate<Computation> filter, bool needOutput)
Parameters
Type Name Description
GeneralTransformationRule rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Predicate<Computation> filter

A method that filters the inputs of the transformation rule acting as trigger

bool needOutput

True, if the call must be made after the output of the trigger rule is created, otherwise false

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>> selector) where TRequiredInput : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, TRequiredOutput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput, TRequiredOutput, bool> filter) where TRequiredInput : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput, TRequiredOutput, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, TRequiredOutput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput, TRequiredOutput, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>> selector) where TRequiredInput1 : class where TRequiredInput2 : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool> filter) where TRequiredInput1 : class where TRequiredInput2 : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEachOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEach<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEach<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForEach<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>>, Func<TRequiredInput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEach<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TRequiredInput, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput, bool> filter) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput

The input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEach<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

Declaration
public void CallForEach<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TRequiredInput1, TRequiredInput2, IEnumerable<Tuple<TIn1, TIn2>>> selector, Func<TRequiredInput1, TRequiredInput2, bool> filter) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule acting as trigger for the current transformation rule

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed multiple times

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

A method that selects the input parameters for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the inputs of the transformation rule acting as trigger

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallForOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallForOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, TRequiredOutput, TIn1> selector1, Func<TRequiredInput, TRequiredOutput, TIn2> selector2) where TRequiredInput : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput, TRequiredOutput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallForOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput>, Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>, Func<TRequiredInput, TRequiredOutput, bool>)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallForOutputSensitive<TRequiredInput, TRequiredOutput>(TransformationRuleBase<TRequiredInput, TRequiredOutput> rule, Func<TRequiredInput, TRequiredOutput, TIn1> selector1, Func<TRequiredInput, TRequiredOutput, TIn2> selector2, Func<TRequiredInput, TRequiredOutput, bool> filter) where TRequiredInput : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput, TRequiredOutput> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput, TRequiredOutput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput, TRequiredOutput, bool> filter

A method to filter the objects where the reversed dependency is applicable

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallForOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>)

Specify that the current transformation rule is called whenenver the given types are transformed

Declaration
public void CallForOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, TIn1> selector1, Func<TRequiredInput, TRequiredOutput, TIn2> selector2)
Parameters
Type Name Description
Func<TRequiredInput, TRequiredOutput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

CallForOutputSensitive<TRequiredInput, TRequiredOutput>(Func<TRequiredInput, TRequiredOutput, TIn1>, Func<TRequiredInput, TRequiredOutput, TIn2>, Func<TRequiredInput, TRequiredOutput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed

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

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput, TRequiredOutput, bool> filter

A method that filters the objects where the dependency should be applied

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2>)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2> selector2, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool> filter) where TRequiredInput1 : class where TRequiredInput2 : class where TRequiredOutput : class
Parameters
Type Name Description
TransformationRuleBase<TRequiredInput1, TRequiredInput2, TRequiredOutput> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool> filter

A method to filter the objects where the reversed dependency is applicable

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallForOutputSensitive<TRequiredInput1, TRequiredInput2, TRequiredOutput>(Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn1>, Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2>)

Specify that the current transformation rule is called whenenver the given types are transformed

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

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed

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

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TRequiredOutput, bool> filter

A method that filters the objects where the dependency should be applied

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

TRequiredOutput

The output type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

CallFor<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallFor<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TRequiredInput, TIn1> selector1, Func<TRequiredInput, TIn2> selector2) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallFor<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Func<TRequiredInput, bool>)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallFor<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TRequiredInput, TIn1> selector1, Func<TRequiredInput, TIn2> selector2, Func<TRequiredInput, bool> filter) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput, bool> filter

A method to filter the objects where the reversed dependency is applicable

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallFor<TRequiredInput>(Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>)

Specify that the current transformation rule is called whenenver the given types are transformed

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

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

CallFor<TRequiredInput>(Func<TRequiredInput, TIn1>, Func<TRequiredInput, TIn2>, Func<TRequiredInput, bool>)

Specify that the current transformation rule is called whenenver the given types are transformed

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

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput, bool> filter

A method that filters the objects where the dependency should be applied

Type Parameters
Name Description
TRequiredInput

The input type of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

CallFor<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>)

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver objects are transformed with the given transformation rule

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2, Func<TRequiredInput1, TRequiredInput2, bool> filter) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule that act as trigger for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method to filter the objects where the reversed dependency is applicable

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

CallFor<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, TIn1>, Func<TRequiredInput1, TRequiredInput2, TIn2>)

Specify that the current transformation rule is called whenenver the given types are transformed

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

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

Specify that the current transformation rule is called whenenver the given types are transformed

Declaration
public void CallFor<TRequiredInput1, TRequiredInput2>(Func<TRequiredInput1, TRequiredInput2, TIn1> selector1, Func<TRequiredInput1, TRequiredInput2, TIn2> selector2, Func<TRequiredInput1, TRequiredInput2, bool> filter) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
Func<TRequiredInput1, TRequiredInput2, TIn1> selector1

A method that selects the first input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, TIn2> selector2

A method that selects the second input parameter for the current transformation rule

Func<TRequiredInput1, TRequiredInput2, bool> filter

A method that filters the objects where the dependency should be applied

Type Parameters
Name Description
TRequiredInput1

The first input type parameter of the transformation rule acting as trigger

TRequiredInput2

The second input type parameter of the transformation rule acting as trigger

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector1 parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector2 parameter is passed a null instance

| Edit this page View Source

CallMany(GeneralTransformationRule, Func<TIn1, TIn2, IEnumerable<object[]>>)

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

Declaration
public ITransformationRuleDependency CallMany(GeneralTransformationRule rule, Func<TIn1, TIn2, IEnumerable<object[]>> selector)
Parameters
Type Name Description
GeneralTransformationRule rule

The dependent transformation rule

Func<TIn1, TIn2, IEnumerable<object[]>> selector

A method that selects the inputs for the dependent computations

Returns
Type Description
ITransformationRuleDependency
Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallManyByType<TRequiredInput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)

Calls the transformation rules that match the given input type signature multiple times

Declaration
public void CallManyByType<TRequiredInput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector) where TRequiredInput : class
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector

A method that selects the input parameter for the dependent transformation rules

Type Parameters
Name Description
TRequiredInput

The type of the input parameter of the dependent transformation rules

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

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

Calls the transformation rules that match the given input type signature multiple times

Declaration
public void CallManyByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the input parameters for the dependent transformation rules

Type Parameters
Name Description
TRequiredInput1

The type of the first input parameter of the dependent transformation rules

TRequiredInput2

The type of the second input parameter of the dependent transformation rules

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

CallMany<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)

Calls the given transformation rule multiple times

Declaration
public ITransformationRuleDependency CallMany<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The transformation rule that needs to be called

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

A method that selects the input parameter for the dependent transformation rules

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The type of the input parameter of the dependent transformation rules

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

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

Calls the given transformation rule multiple times

Declaration
public ITransformationRuleDependency CallMany<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule that needs to be called

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

A method that selects the input parameters for the dependent transformation rules

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The type of the first input parameter of the dependent transformation rules

TRequiredInput2

The type of the second input parameter of the dependent transformation rules

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

Call<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TRequiredInput>)

Calls the given transformation rule

Declaration
public ITransformationRuleDependency Call<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, TRequiredInput> selector) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

Func<TIn1, TIn2, TRequiredInput> selector

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

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The type of the dependent transformation rules input argument

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

Call<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>)

Calls the given transformation rule with the same inputs

Declaration
public ITransformationRuleDependency Call<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule that needs to be called

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input type of the dependent transformation rule

TRequiredInput2

The second input type of the dependent transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

Call<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)

Calls the given transformation rule

Declaration
public ITransformationRuleDependency Call<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The transformation rule that needs to be called

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

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The type of the first input argument of the dependent transformation rule

TRequiredInput2

The type of the second input argument of the dependent transformation rule

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector1 parameter

ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector2 parameter

| Edit this page View Source

MarkInstantiatingFor(GeneralTransformationRule, Func<TIn1, TIn2, bool>)

Marks the current transformation rule instantiating for the specified rule

Declaration
public void MarkInstantiatingFor(GeneralTransformationRule rule, Func<TIn1, TIn2, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule rule

The transformation rule

Func<TIn1, TIn2, bool> filter

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

| Edit this page View Source

Require(GeneralTransformationRule, Func<TIn1, TIn2, object[]>)

Requires the transformation rule with the given type

Declaration
public ITransformationRuleDependency Require(GeneralTransformationRule rule, Func<TIn1, TIn2, object[]> selector)
Parameters
Type Name Description
GeneralTransformationRule rule

The dependent transformation rule

Func<TIn1, TIn2, object[]> selector

A method that selects the first input for the dependent transformations

Returns
Type Description
ITransformationRuleDependency
Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

Require(GeneralTransformationRule<TIn1, TIn2>, Func<TIn1, TIn2, bool>)

Requires the given transformation rule with the same input types and a filter

Declaration
public void Require(GeneralTransformationRule<TIn1, TIn2> rule, Func<TIn1, TIn2, bool> filter)
Parameters
Type Name Description
GeneralTransformationRule<TIn1, TIn2> rule

The transformation rule

Func<TIn1, TIn2, bool> filter

The filter method

| Edit this page View Source

RequireByType<TRequiredInput>(Func<TIn1, TIn2, TRequiredInput>)

Requires all transformation rules that transform items from S1, S2 to T

Declaration
public void RequireByType<TRequiredInput>(Func<TIn1, TIn2, TRequiredInput> selector) where TRequiredInput : class
Parameters
Type Name Description
Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input for the dependent transformations

Type Parameters
Name Description
TRequiredInput

The first input argument type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

RequireByType<TRequiredInput1, TRequiredInput2>()

Requires all transformation rules that transform items from S1 and S2 to T

Declaration
public void RequireByType<TRequiredInput1, TRequiredInput2>() where TRequiredInput1 : class where TRequiredInput2 : class
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformations

TRequiredInput2

The second input argument 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>(Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)

Requires all transformation rules that transform items from S1, S2 to T

Declaration
public void RequireByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class
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

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformations

TRequiredInput2

The first input argument type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector1 parameter

ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector2 parameter

| Edit this page View Source

RequireMany(GeneralTransformationRule, Func<TIn1, TIn2, IEnumerable<object[]>>)

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

Declaration
public ITransformationRuleDependency RequireMany(GeneralTransformationRule rule, Func<TIn1, TIn2, IEnumerable<object[]>> selector)
Parameters
Type Name Description
GeneralTransformationRule rule

The dependent transformation rule

Func<TIn1, TIn2, IEnumerable<object[]>> selector

A method that selects the inputs for the dependent computations

Returns
Type Description
ITransformationRuleDependency
Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

RequireManyByType<TRequiredInput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)

Requires all transformation rules that transform S1, S2 to T with all of the specified objects

Declaration
public void RequireManyByType<TRequiredInput>(Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector) where TRequiredInput : class
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector

A method that selects the inputs for the dependent transformations

Type Parameters
Name Description
TRequiredInput

The first input argument type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

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

Requires all transformation rules that transform S1, S2 to T with all of the specified objects

Declaration
public void RequireManyByType<TRequiredInput1, TRequiredInput2>(Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector

A method that selects the inputs for the dependent transformations

Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformations

TRequiredInput2

The second input argument type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

RequireMany<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, IEnumerable<TRequiredInput>>)

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

Declaration
public ITransformationRuleDependency RequireMany<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, IEnumerable<TRequiredInput>> selector) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

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

A method that selects the inputs for the dependent transformations

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The first input argument type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

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

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

Declaration
public ITransformationRuleDependency RequireMany<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, IEnumerable<Tuple<TRequiredInput1, TRequiredInput2>>> selector) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule

The dependent transformation rule

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

A method that selects the inputs for the dependent transformations

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput1

The first input argument type of the dependent transformations

TRequiredInput2

The second input argument type of the dependent transformations

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

| Edit this page View Source

Require<TRequiredInput>(GeneralTransformationRule<TRequiredInput>, Func<TIn1, TIn2, TRequiredInput>)

Requires the transformation rule with the given type

Declaration
public ITransformationRuleDependency Require<TRequiredInput>(GeneralTransformationRule<TRequiredInput> rule, Func<TIn1, TIn2, TRequiredInput> selector) where TRequiredInput : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput> rule

The dependent transformation rule

Func<TIn1, TIn2, TRequiredInput> selector

A method that selects the input for the dependent transformations

Returns
Type Description
ITransformationRuleDependency
Type Parameters
Name Description
TRequiredInput

The first input argument type of the dependent transformation

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown if the selector parameter is passed a null instance

| Edit this page View Source

Require<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2>, Func<TIn1, TIn2, TRequiredInput1>, Func<TIn1, TIn2, TRequiredInput2>)

Requires the transformation rule with the given type

Declaration
public ITransformationRuleDependency Require<TRequiredInput1, TRequiredInput2>(GeneralTransformationRule<TRequiredInput1, TRequiredInput2> rule, Func<TIn1, TIn2, TRequiredInput1> selector1, Func<TIn1, TIn2, TRequiredInput2> selector2) where TRequiredInput1 : class where TRequiredInput2 : class
Parameters
Type Name Description
GeneralTransformationRule<TRequiredInput1, TRequiredInput2> 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

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

Exceptions
Type Condition
ArgumentNullException

An ArgumentNullException is thrown if the rule parameter is passed a null instance

ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector1 parameter

ArgumentNullException

An ArgumentNullException is thrown when a null reference is passed to the selector2 parameter

| Edit this page View Source

Rule<TRule>()

Gets the first rule within the rules associated transformation that has the given rule type

Declaration
public TRule Rule<TRule>() where TRule : GeneralTransformationRule
Returns
Type Description
TRule

The first transformation rule within the associated transformation or null, if there is none.

Type Parameters
Name Description
TRule

The type of the transformation rule that is looked for

| Edit this page View Source

ToString()

Gets the name of the transformation rule

Declaration
public override string ToString()
Returns
Type Description
string

The name of the transformation rule

Overrides
object.ToString()
| Edit this page View Source

WithPattern(ITransformationRulePattern<TIn1, TIn2>)

Registers the given pattern for the current transformation rule

Declaration
public void WithPattern(ITransformationRulePattern<TIn1, TIn2> pattern)
Parameters
Type Name Description
ITransformationRulePattern<TIn1, TIn2> pattern

The pattern that should be applied based on the current transformation rule

| Edit this page View Source

WithPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>>)

Registers the given incremental pattern for the current transformation rule

Declaration
public void WithPattern(Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> patternCreator)
Parameters
Type Name Description
Func<ITransformationContext, INotifyEnumerable<Tuple<TIn1, TIn2>>> patternCreator

The relation pattern that should be applied on the current transformation rule

| Edit this page View Source

WithPattern(Func<ITransformationContext, IEnumerable<Tuple<TIn1, TIn2>>>)

Registers the given incremental pattern for the current transformation rule

Declaration
public void WithPattern(Func<ITransformationContext, IEnumerable<Tuple<TIn1, TIn2>>> patternCreator)
Parameters
Type Name Description
Func<ITransformationContext, IEnumerable<Tuple<TIn1, TIn2>>> patternCreator

The relation pattern that should be applied on the current transformation rule

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