Class ModelSynchronizationRule<TLeft, TRight>
Denotes a synchronization rule of model elements
Inherited Members
Namespace: NMF.Synchronizations.Models
Assembly: NMF.Synchronizations.Models.dll
Syntax
public abstract class ModelSynchronizationRule<TLeft, TRight> : SynchronizationRule<TLeft, TRight> where TLeft : class, IModelElement where TRight : class, IModelElement
Type Parameters
Name | Description |
---|---|
TLeft | The LHS model type |
TRight | The RHS model type |
Methods
| Edit this page View SourceShouldCorrespond(TLeft, TRight, ISynchronizationContext)
Determines whether a correspondence shoulf be established between the given LHS and RHS elements
Declaration
public override 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 |