Class SynchronizationRule<TLeft, TRight>
Denotes an abstract synchronization rule
Inheritance
Inherited Members
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 SourceSynchronizationRule()
Creates a new instance
Declaration
protected SynchronizationRule()
Properties
| Edit this page View SourceLeftToRight
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> |
LeftType
Gets the LHS type of this rule
Declaration
public override sealed Type LeftType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
| Edit this page View SourceOutputDelayLevel
Gets or sets the output delay level of the transformations
Declaration
public byte OutputDelayLevel { get; set; }
Property Value
Type | Description |
---|---|
byte |
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> |
RightType
Gets the RHS type of this rule
Declaration
public override sealed Type RightType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
| Edit this page View SourceSynchronizationJobs
Gets the jobs performed by this synchronization rule
Declaration
public ICollection<ISynchronizationJob<TLeft, TRight>> SynchronizationJobs { get; }
Property Value
Type | Description |
---|---|
ICollection<ISynchronizationJob<TLeft, TRight>> |
TransformationDelayLevel
Gets or sets the transformation delay level
Declaration
public byte TransformationDelayLevel { get; set; }
Property Value
Type | Description |
---|---|
byte |
Methods
| Edit this page View SourceCreateLeftOutput(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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |