Interface IModelSynchronization
Denotes a model synchronization
public interface IModelSynchronization
Properties
IsAutomatic
True, if the synchronization should be performed automatically, otherwise false
bool IsAutomatic { get; }
Property Value
Name
The unique identifier of the synchronization
string Name { get; }
Property Value
Methods
CanSynchronize(Uri, out Uri)
Determines whether a document of the given Uri can be synchronized
bool CanSynchronize(Uri uri, out Uri synchronizedUri)
Parameters
uriUrithe Uri to synchronize
synchronizedUriUrithe Uri that the given document can be synchronized with
Returns
- bool
true, if the document can be synchronized, otherwise false
Synchronize(Uri, ref IModelElement, Uri, ref IModelElement)
Starts synchronizing the given Uri
IRunningSynchronization Synchronize(Uri uri1, ref IModelElement root1, Uri uri2, ref IModelElement root2)
Parameters
uri1Urithe first Uri to synchronize
root1IModelElementthe root element of the first model
uri2Urithe second Uri to synchronize
root2IModelElementthe root element of the second model