Class HomogenModelSync<T>
Represents a synchronization class for homogeneous model elements.
public class HomogenModelSync<T> : ModelSynchronization, IModelSynchronization where T : class, IModelElement
Type Parameters
TThe type of model element being synchronized.
- Inheritance
-
HomogenModelSync<T>
- Implements
- Inherited Members
Constructors
HomogenModelSync()
Creates a new instance
public HomogenModelSync()
Methods
SynchronizeLeftToRight(Uri, ref IModelElement, Uri, ref IModelElement)
Starts the synchronization from the left model to the right model
protected override IRunningSynchronization SynchronizeLeftToRight(Uri leftUri, ref IModelElement leftRoot, Uri rightUri, ref IModelElement rightRoot)
Parameters
leftUriUrithe URI of the left model
leftRootIModelElementthe left root model
rightUriUrithe URI of the right model
rightRootIModelElementthe right root model
Returns
- IRunningSynchronization
A running synchronization or null, if the synchronization is aborted
SynchronizeRightToLeft(Uri, ref IModelElement, Uri, ref IModelElement)
Starts the synchronization from the right model to the left model
protected override IRunningSynchronization SynchronizeRightToLeft(Uri leftUri, ref IModelElement leftRoot, Uri rightUri, ref IModelElement rightRoot)
Parameters
leftUriUrithe URI of the left model
leftRootIModelElementthe left root model
rightUriUrithe URI of the right model
rightRootIModelElementthe right root model
Returns
- IRunningSynchronization
A running synchronization or null, if the synchronization is aborted