Class ModelSynchronizationRule<TLeft, TRight>
- Namespace
- NMF.Synchronizations.Models
- Assembly
- NMF.Synchronizations.Models.dll
Denotes a synchronization rule of model elements
public abstract class ModelSynchronizationRule<TLeft, TRight> : SynchronizationRule<TLeft, TRight> where TLeft : class, IModelElement where TRight : class, IModelElement
Type Parameters
TLeftThe LHS model type
TRightThe RHS model type
- Inheritance
-
SynchronizationRule<TLeft, TRight>ModelSynchronizationRule<TLeft, TRight>
- Inherited Members
Methods
ShouldCorrespond(TLeft, TRight, ISynchronizationContext)
Determines whether a correspondence shoulf be established between the given LHS and RHS elements
public override bool ShouldCorrespond(TLeft left, TRight right, ISynchronizationContext context)
Parameters
leftTLeftThe LHS element
rightTRightThe RHS element
contextISynchronizationContextThe context in which the synchronization is run
Returns
- bool
True, if the elements should be regarded as corresponding to each other, otherwise false