Table of Contents

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

TLeft

The LHS model type

TRight

The 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

left TLeft

The LHS element

right TRight

The RHS element

context ISynchronizationContext

The context in which the synchronization is run

Returns

bool

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