Show / Hide Table of Contents

Class SynchronizationRule<TLeft, TRight>

Denotes an abstract synchronization rule

Inheritance
object
SynchronizationRuleBase
SynchronizationRule<TLeft, TRight>
ModelCopyRule<T>
ModelSynchronizationRule<TLeft, TRight>
Inherited Members
SynchronizationRuleBase.DeclareSynchronization()
SynchronizationRuleBase.Synchronization
SynchronizationRuleBase.SyncRule<TRule>()
SynchronizationRuleBase.Rule<TRule>()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Synchronizations
Assembly: NMF.Synchronizations.dll
Syntax
public abstract class SynchronizationRule<TLeft, TRight> : SynchronizationRuleBase
Type Parameters
Name Description
TLeft

The LHS type of the synchronization rule

TRight

The RHS type of the synchronization rule

Constructors

| Edit this page View Source

SynchronizationRule()

Creates a new instance

Declaration
protected SynchronizationRule()

Properties

| Edit this page View Source

LeftToRight

Gets the transformation rule responsible of transforming elements from left to right

Declaration
public TransformationRuleBase<TLeft, TRight> LeftToRight { get; }
Property Value
Type Description
TransformationRuleBase<TLeft, TRight>
| Edit this page View Source

LeftType

Gets the LHS type of this rule

Declaration
public override sealed Type LeftType { get; }
Property Value
Type Description
Type
Overrides
SynchronizationRuleBase.LeftType
| Edit this page View Source

OutputDelayLevel

Gets or sets the output delay level of the transformations

Declaration
public byte OutputDelayLevel { get; set; }
Property Value
Type Description
byte
| Edit this page View Source

RightToLeft

Gets the transformation rule responsible of transforming elements from right to left

Declaration
public TransformationRuleBase<TRight, TLeft> RightToLeft { get; }
Property Value
Type Description
TransformationRuleBase<TRight, TLeft>
| Edit this page View Source

RightType

Gets the RHS type of this rule

Declaration
public override sealed Type RightType { get; }
Property Value
Type Description
Type
Overrides
SynchronizationRuleBase.RightType
| Edit this page View Source

SynchronizationJobs

Gets the jobs performed by this synchronization rule

Declaration
public ICollection<ISynchronizationJob<TLeft, TRight>> SynchronizationJobs { get; }
Property Value
Type Description
ICollection<ISynchronizationJob<TLeft, TRight>>
| Edit this page View Source

TransformationDelayLevel

Gets or sets the transformation delay level

Declaration
public byte TransformationDelayLevel { get; set; }
Property Value
Type Description
byte

Methods

| Edit this page View Source

CreateLeftOutput(TRight, IEnumerable<TLeft>, ISynchronizationContext, out bool)

Creates the LHS output

Declaration
protected virtual TLeft CreateLeftOutput(TRight input, IEnumerable<TLeft> candidates, ISynchronizationContext context, out bool existing)
Parameters
Type Name Description
TRight input

The corresponding RHS element

IEnumerable<TLeft> candidates

Candidates for the LHS element or null

ISynchronizationContext context

The synchronization context

bool existing

True, if an existing element is returned, otherwise False

Returns
Type Description
TLeft

The LHS element

| Edit this page View Source

CreateRightOutput(TLeft, IEnumerable<TRight>, ISynchronizationContext, out bool)

Creates the RHS output

Declaration
protected virtual TRight CreateRightOutput(TLeft input, IEnumerable<TRight> candidates, ISynchronizationContext context, out bool existing)
Parameters
Type Name Description
TLeft input

The corresponding LHS element

IEnumerable<TRight> candidates

Candidates for the RHS element or null

ISynchronizationContext context

The synchronization context

bool existing

True, if an existing element is returned, otherwise False

Returns
Type Description
TRight

The RHS element

| Edit this page View Source

MarkInstantiatingFor(SynchronizationRuleBase, Expression<Func<TLeft, bool>>, Expression<Func<TRight, bool>>)

Marks this synchronization rule instantiating for the given other synchronization rule

Declaration
public void MarkInstantiatingFor(SynchronizationRuleBase synchronizationRule, Expression<Func<TLeft, bool>> leftPredicate = null, Expression<Func<TRight, bool>> rightPredicate = null)
Parameters
Type Name Description
SynchronizationRuleBase synchronizationRule

The other synchronization rule with more abstract LHS and RHS types

Expression<Func<TLeft, bool>> leftPredicate

A filter function on the LHS when this instantiation applies or null

Expression<Func<TRight, bool>> rightPredicate

A filter function on the RHS when this instantiation applies or null

| Edit this page View Source

ShouldCorrespond(TLeft, TRight, ISynchronizationContext)

Determines whether a correspondence shoulf be established between the given LHS and RHS elements

Declaration
public virtual bool ShouldCorrespond(TLeft left, TRight right, ISynchronizationContext context)
Parameters
Type Name Description
TLeft left

The LHS element

TRight right

The RHS element

ISynchronizationContext context

The context in which the synchronization is run

Returns
Type Description
bool

True, if the elements should be regarded as corresponding to each other, otherwise false

| Edit this page View Source

SynchronizeCollectionsLeftToRight(ICollection<TRight>, ICollection<TLeft>, ISynchronizationContext, bool)

Synchronizes collections of LHS and RHS elements in the direction lefts to rights

Declaration
protected virtual void SynchronizeCollectionsLeftToRight(ICollection<TRight> rights, ICollection<TLeft> lefts, ISynchronizationContext context, bool ignoreCandidates)
Parameters
Type Name Description
ICollection<TRight> rights

The right elements

ICollection<TLeft> lefts

The left elements

ISynchronizationContext context

The synchronization context

bool ignoreCandidates

True, if candidates can be ignored, otherwise false

| Edit this page View Source

SynchronizeCollectionsRightToLeft(ICollection<TLeft>, ICollection<TRight>, ISynchronizationContext, bool)

Synchronizes collections of LHS and RHS elements in the direction rights to lefts

Declaration
protected virtual void SynchronizeCollectionsRightToLeft(ICollection<TLeft> lefts, ICollection<TRight> rights, ISynchronizationContext context, bool ignoreCandidates)
Parameters
Type Name Description
ICollection<TLeft> lefts

The left elements

ICollection<TRight> rights

The right elements

ISynchronizationContext context

The synchronization context

bool ignoreCandidates

True, if candidates can be ignored, otherwise false

| Edit this page View Source

SynchronizeLateLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Action<TRight, ITransformationContext, TValue>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLateLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Action<TRight, ITransformationContext, TValue> rightSetter)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Action<TRight, ITransformationContext, TValue> rightSetter

A RHS setter

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLateLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>>, Action<TRight, TValue>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLateLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Action<TRight, TValue> rightSetter)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Action<TRight, TValue> rightSetter

A RHS setter

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLateLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLateLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLateRightToLeftOnly<TValue>(Action<TLeft, ITransformationContext, TValue>, Expression<Func<TRight, ITransformationContext, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeLateRightToLeftOnly<TValue>(Action<TLeft, ITransformationContext, TValue> leftSetter, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector)
Parameters
Type Name Description
Action<TLeft, ITransformationContext, TValue> leftSetter

A LHS setter

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLateRightToLeftOnly<TValue>(Action<TLeft, TValue>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeLateRightToLeftOnly<TValue>(Action<TLeft, TValue> leftSetter, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Action<TLeft, TValue> leftSetter

A LHS setter

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLateRightToLeftOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Expression<Func<TRight, ITransformationContext, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeLateRightToLeftOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLateRightToLeftOnly<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeLateRightToLeftOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLate<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values late

Declaration
public void SynchronizeLate<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Action<TRight, ITransformationContext, TValue>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Action<TRight, ITransformationContext, TValue> rightSetter)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Action<TRight, ITransformationContext, TValue> rightSetter

A RHS setter

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Action<TRight, ITransformationContext, TValue>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Action<TRight, ITransformationContext, TValue> rightSetter, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Action<TRight, ITransformationContext, TValue> rightSetter

A RHS setter

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Expression<Func<TRight, ITransformationContext, TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Expression<Func<TRight, ITransformationContext, TValue>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>>, Action<TRight, TValue>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Action<TRight, TValue> rightSetter)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Action<TRight, TValue> rightSetter

A RHS setter

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>>, Action<TRight, TValue>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Action<TRight, TValue> rightSetter, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Action<TRight, TValue> rightSetter

A RHS setter

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeLeftToRightOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, TDepLeft>>, Expression<Func<TRight, ITransformationContext, TDepRight>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent elements using the provided synchronization rule but only Left to Right

Declaration
public void SynchronizeLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector, Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector, Expression<Func<TLeft, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, TDepLeft>>, Expression<Func<TRight, TDepRight>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent elements using the provided synchronization rule but only Left to Right

Declaration
public void SynchronizeLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, TDepLeft>> leftSelector, Expression<Func<TRight, TDepRight>> rightSelector, Expression<Func<TLeft, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeManyLate<TValue>(Func<TLeft, ICollectionExpression<TValue>>, Func<TRight, ICollectionExpression<TValue>>)

Synchronizes the dependent values

Declaration
public void SynchronizeManyLate<TValue>(Func<TLeft, ICollectionExpression<TValue>> leftSelector, Func<TRight, ICollectionExpression<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, ICollectionExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollectionExpression<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLate<TValue>(Func<TLeft, ICollectionExpression<TValue>>, Func<TRight, ICollectionExpression<TValue>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent values

Declaration
public void SynchronizeManyLate<TValue>(Func<TLeft, ICollectionExpression<TValue>> leftSelector, Func<TRight, ICollectionExpression<TValue>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard)
Parameters
Type Name Description
Func<TLeft, ICollectionExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollectionExpression<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnlyLate<TValue>(Func<TLeft, IEnumerableExpression<TValue>>, Func<TRight, ICollection<TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyLeftToRightOnlyLate<TValue>(Func<TLeft, IEnumerableExpression<TValue>> leftSelector, Func<TRight, ICollection<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, IEnumerableExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollection<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnlyLate<TValue>(Func<TLeft, IEnumerableExpression<TValue>>, Func<TRight, ICollection<TValue>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyLeftToRightOnlyLate<TValue>(Func<TLeft, IEnumerableExpression<TValue>> leftSelector, Func<TRight, ICollection<TValue>> rightSelector, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Func<TLeft, IEnumerableExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollection<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, IEnumerableExpression<TValue>>, Func<TRight, ICollection<TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, IEnumerableExpression<TValue>> leftSelector, Func<TRight, ICollection<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, IEnumerableExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollection<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, IEnumerableExpression<TValue>>, Func<TRight, ICollection<TValue>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, IEnumerableExpression<TValue>> leftSelector, Func<TRight, ICollection<TValue>> rightSelector, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Func<TLeft, IEnumerableExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollection<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, ITransformationContext, IEnumerableExpression<TValue>>, Func<TRight, ITransformationContext, ICollection<TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, ITransformationContext, IEnumerableExpression<TValue>> leftSelector, Func<TRight, ITransformationContext, ICollection<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, ITransformationContext, IEnumerableExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ITransformationContext, ICollection<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, ITransformationContext, IEnumerableExpression<TValue>>, Func<TRight, ITransformationContext, ICollection<TValue>>, Expression<Func<TLeft, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyLeftToRightOnly<TValue>(Func<TLeft, ITransformationContext, IEnumerableExpression<TValue>> leftSelector, Func<TRight, ITransformationContext, ICollection<TValue>> rightSelector, Expression<Func<TLeft, bool>> guard)
Parameters
Type Name Description
Func<TLeft, ITransformationContext, IEnumerableExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ITransformationContext, ICollection<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, IEnumerableExpression<TDepLeft>>>, Expression<Func<TRight, ICollection<TDepRight>>>)

Synchronizes the dependent elements using the provided synchronization rule but only Left to Right

Declaration
public void SynchronizeManyLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, IEnumerableExpression<TDepLeft>>> leftSelector, Expression<Func<TRight, ICollection<TDepRight>>> rightSelector) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, IEnumerableExpression<TDepLeft>>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ICollection<TDepRight>>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeManyLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, IEnumerableExpression<TDepLeft>>>, Expression<Func<TRight, ITransformationContext, ICollection<TDepRight>>>)

Synchronizes the dependent elements using the provided synchronization rule but only Left to Right

Declaration
public void SynchronizeManyLeftToRightOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, IEnumerableExpression<TDepLeft>>> leftSelector, Expression<Func<TRight, ITransformationContext, ICollection<TDepRight>>> rightSelector) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, IEnumerableExpression<TDepLeft>>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, ICollection<TDepRight>>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeManyRightToLeftOnlyLate<TValue>(Func<TLeft, ICollection<TValue>>, Func<TRight, IEnumerableExpression<TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyRightToLeftOnlyLate<TValue>(Func<TLeft, ICollection<TValue>> leftSelector, Func<TRight, IEnumerableExpression<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, ICollection<TValue>> leftSelector

The LHS in-model lens

Func<TRight, IEnumerableExpression<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyRightToLeftOnlyLate<TValue>(Func<TLeft, ICollection<TValue>>, Func<TRight, IEnumerableExpression<TValue>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyRightToLeftOnlyLate<TValue>(Func<TLeft, ICollection<TValue>> leftSelector, Func<TRight, IEnumerableExpression<TValue>> rightSelector, Expression<Func<TRight, bool>> guard)
Parameters
Type Name Description
Func<TLeft, ICollection<TValue>> leftSelector

The LHS in-model lens

Func<TRight, IEnumerableExpression<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyRightToLeftOnly<TValue>(Func<TLeft, ICollection<TValue>>, Func<TRight, IEnumerableExpression<TValue>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyRightToLeftOnly<TValue>(Func<TLeft, ICollection<TValue>> leftSelector, Func<TRight, IEnumerableExpression<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, ICollection<TValue>> leftSelector

The LHS in-model lens

Func<TRight, IEnumerableExpression<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyRightToLeftOnly<TValue>(Func<TLeft, ICollection<TValue>>, Func<TRight, IEnumerableExpression<TValue>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent values but only left to right

Declaration
public void SynchronizeManyRightToLeftOnly<TValue>(Func<TLeft, ICollection<TValue>> leftSelector, Func<TRight, IEnumerableExpression<TValue>> rightSelector, Expression<Func<TRight, bool>> guard)
Parameters
Type Name Description
Func<TLeft, ICollection<TValue>> leftSelector

The LHS in-model lens

Func<TRight, IEnumerableExpression<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeManyRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, ICollection<TDepLeft>>>, Expression<Func<TRight, ITransformationContext, IEnumerableExpression<TDepRight>>>)

Synchronizes the dependent elements using the provided synchronization rule but only Right to Left

Declaration
public void SynchronizeManyRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, ICollection<TDepLeft>>> leftSelector, Expression<Func<TRight, ITransformationContext, IEnumerableExpression<TDepRight>>> rightSelector) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, ICollection<TDepLeft>>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, IEnumerableExpression<TDepRight>>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeManyRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ICollection<TDepLeft>>>, Expression<Func<TRight, IEnumerableExpression<TDepRight>>>)

Synchronizes the dependent elements using the provided synchronization rule but only Right to Left

Declaration
public void SynchronizeManyRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ICollection<TDepLeft>>> leftSelector, Expression<Func<TRight, IEnumerableExpression<TDepRight>>> rightSelector) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ICollection<TDepLeft>>> leftSelector

The LHS in-model lens

Expression<Func<TRight, IEnumerableExpression<TDepRight>>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeMany<TValue>(Func<TLeft, ICollectionExpression<TValue>>, Func<TRight, ICollectionExpression<TValue>>)

Synchronizes the dependent values

Declaration
public void SynchronizeMany<TValue>(Func<TLeft, ICollectionExpression<TValue>> leftSelector, Func<TRight, ICollectionExpression<TValue>> rightSelector)
Parameters
Type Name Description
Func<TLeft, ICollectionExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollectionExpression<TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeMany<TValue>(Func<TLeft, ICollectionExpression<TValue>>, Func<TRight, ICollectionExpression<TValue>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent values

Declaration
public void SynchronizeMany<TValue>(Func<TLeft, ICollectionExpression<TValue>> leftSelector, Func<TRight, ICollectionExpression<TValue>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard)
Parameters
Type Name Description
Func<TLeft, ICollectionExpression<TValue>> leftSelector

The LHS in-model lens

Func<TRight, ICollectionExpression<TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of values

| Edit this page View Source

SynchronizeMany<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ICollectionExpression<TDepLeft>>>, Expression<Func<TRight, ICollectionExpression<TDepRight>>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void SynchronizeMany<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ICollectionExpression<TDepLeft>>> leftSelector, Expression<Func<TRight, ICollectionExpression<TDepRight>>> rightSelector) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ICollectionExpression<TDepLeft>>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ICollectionExpression<TDepRight>>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeMany<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, ICollectionExpression<TDepLeft>>>, Expression<Func<TRight, ITransformationContext, ICollectionExpression<TDepRight>>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void SynchronizeMany<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, ICollectionExpression<TDepLeft>>> leftSelector, Expression<Func<TRight, ITransformationContext, ICollectionExpression<TDepRight>>> rightSelector) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, ICollectionExpression<TDepLeft>>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, ICollectionExpression<TDepRight>>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeOpaque(Action<TLeft, TRight, SynchronizationDirection, ISynchronizationContext>, bool)

Executes the given action when a correspondence between LHS and RHS elements is established

Declaration
public void SynchronizeOpaque(Action<TLeft, TRight, SynchronizationDirection, ISynchronizationContext> action, bool isEarly = false)
Parameters
Type Name Description
Action<TLeft, TRight, SynchronizationDirection, ISynchronizationContext> action

The action to perform

bool isEarly

True, if the synchronization job should be performed before dependencies, otherwise False

| Edit this page View Source

SynchronizeOpaque(Func<TLeft, TRight, SynchronizationDirection, ISynchronizationContext, IDisposable>, bool)

Executes the given action when a correspondence between LHS and RHS elements is established

Declaration
public void SynchronizeOpaque(Func<TLeft, TRight, SynchronizationDirection, ISynchronizationContext, IDisposable> action, bool isEarly = false)
Parameters
Type Name Description
Func<TLeft, TRight, SynchronizationDirection, ISynchronizationContext, IDisposable> action

The action to perform

bool isEarly

True, if the synchronization job should be performed before dependencies, otherwise False

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Action<TLeft, ITransformationContext, TValue>, Expression<Func<TRight, ITransformationContext, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Action<TLeft, ITransformationContext, TValue> leftSetter, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector)
Parameters
Type Name Description
Action<TLeft, ITransformationContext, TValue> leftSetter

A LHS setter

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Action<TLeft, ITransformationContext, TValue>, Expression<Func<TRight, ITransformationContext, TValue>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Action<TLeft, ITransformationContext, TValue> leftSetter, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector, Expression<Func<TRight, bool>> guard)
Parameters
Type Name Description
Action<TLeft, ITransformationContext, TValue> leftSetter

A LHS setter

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Action<TLeft, TValue>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Action<TLeft, TValue> leftSetter, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Action<TLeft, TValue> leftSetter

A LHS setter

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Action<TLeft, TValue>, Expression<Func<TRight, TValue>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Action<TLeft, TValue> leftSetter, Expression<Func<TRight, TValue>> rightSelector, Expression<Func<TRight, bool>> guard)
Parameters
Type Name Description
Action<TLeft, TValue> leftSetter

A LHS setter

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>>, Expression<Func<TRight, ITransformationContext, TValue>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector, Expression<Func<TRight, ITransformationContext, TValue>> rightSelector, Expression<Func<TRight, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, ITransformationContext, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent values but only right to left

Declaration
public void SynchronizeRightToLeftOnly<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector, Expression<Func<TRight, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

SynchronizeRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, TDepLeft>>, Expression<Func<TRight, ITransformationContext, TDepRight>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule but only Right to Left

Declaration
public void SynchronizeRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector, Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector, Expression<Func<TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

SynchronizeRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, TDepLeft>>, Expression<Func<TRight, TDepRight>>, Expression<Func<TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule but only Right to Left

Declaration
public void SynchronizeRightToLeftOnly<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, TDepLeft>> leftSelector, Expression<Func<TRight, TDepRight>> rightSelector, Expression<Func<TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>)

Synchronizes the dependent values

Declaration
public void Synchronize<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

Synchronize<TValue>(Expression<Func<TLeft, TValue>>, Expression<Func<TRight, TValue>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent values

Declaration
public void Synchronize<TValue>(Expression<Func<TLeft, TValue>> leftSelector, Expression<Func<TRight, TValue>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard)
Parameters
Type Name Description
Expression<Func<TLeft, TValue>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TValue>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TValue

The type of the values

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, TDepLeft>>, Action<TLeft, ITransformationContext, TDepLeft>, Expression<Func<TRight, ITransformationContext, TDepRight>>, Action<TRight, ITransformationContext, TDepRight>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector, Action<TLeft, ITransformationContext, TDepLeft> leftSetter, Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector, Action<TRight, ITransformationContext, TDepRight> rightSetter, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector

The LHS in-model lens

Action<TLeft, ITransformationContext, TDepLeft> leftSetter

An alternative LHS lens put

Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector

The RHS in-model lens

Action<TRight, ITransformationContext, TDepRight> rightSetter

An alternative RHS lens put

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, TDepLeft>>, Action<TLeft, ITransformationContext, TDepLeft>, Expression<Func<TRight, ITransformationContext, TDepRight>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector, Action<TLeft, ITransformationContext, TDepLeft> leftSetter, Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector

The LHS in-model lens

Action<TLeft, ITransformationContext, TDepLeft> leftSetter

An alternative LHS lens put

Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, TDepLeft>>, Expression<Func<TRight, ITransformationContext, TDepRight>>, Action<TRight, ITransformationContext, TDepRight>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector, Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector, Action<TRight, ITransformationContext, TDepRight> rightSetter, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector

The RHS in-model lens

Action<TRight, ITransformationContext, TDepRight> rightSetter

An alternative RHS lens put

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, ITransformationContext, TDepLeft>>, Expression<Func<TRight, ITransformationContext, TDepRight>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector, Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, ITransformationContext, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, ITransformationContext, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, TDepLeft>>, Action<TLeft, TDepLeft>, Expression<Func<TRight, TDepRight>>, Action<TRight, TDepRight>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, TDepLeft>> leftSelector, Action<TLeft, TDepLeft> leftSetter, Expression<Func<TRight, TDepRight>> rightSelector, Action<TRight, TDepRight> rightSetter, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, TDepLeft>> leftSelector

The LHS in-model lens

Action<TLeft, TDepLeft> leftSetter

An alternative LHS lens put

Expression<Func<TRight, TDepRight>> rightSelector

The RHS in-model lens

Action<TRight, TDepRight> rightSetter

An alternative RHS lens put

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, TDepLeft>>, Action<TLeft, TDepLeft>, Expression<Func<TRight, TDepRight>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, TDepLeft>> leftSelector, Action<TLeft, TDepLeft> leftSetter, Expression<Func<TRight, TDepRight>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, TDepLeft>> leftSelector

The LHS in-model lens

Action<TLeft, TDepLeft> leftSetter

An alternative LHS lens put

Expression<Func<TRight, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, TDepLeft>>, Expression<Func<TRight, TDepRight>>, Action<TRight, TDepRight>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, TDepLeft>> leftSelector, Expression<Func<TRight, TDepRight>> rightSelector, Action<TRight, TDepRight> rightSetter, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TDepRight>> rightSelector

The RHS in-model lens

Action<TRight, TDepRight> rightSetter

An alternative RHS lens put

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

| Edit this page View Source

Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight>, Expression<Func<TLeft, TDepLeft>>, Expression<Func<TRight, TDepRight>>, Expression<Func<TLeft, TRight, bool>>)

Synchronizes the dependent elements using the provided synchronization rule

Declaration
public void Synchronize<TDepLeft, TDepRight>(SynchronizationRule<TDepLeft, TDepRight> rule, Expression<Func<TLeft, TDepLeft>> leftSelector, Expression<Func<TRight, TDepRight>> rightSelector, Expression<Func<TLeft, TRight, bool>> guard = null) where TDepLeft : class where TDepRight : class
Parameters
Type Name Description
SynchronizationRule<TDepLeft, TDepRight> rule

The rule that should be used as isomorphism

Expression<Func<TLeft, TDepLeft>> leftSelector

The LHS in-model lens

Expression<Func<TRight, TDepRight>> rightSelector

The RHS in-model lens

Expression<Func<TLeft, TRight, bool>> guard

A guard condition or null

Type Parameters
Name Description
TDepLeft

The dependent LHS type

TDepRight

The dependent RHS type

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