Interface ISynchronizationJob<TLeft, TRight>
Denotes a job that should be performed as part of a model synchronization
Namespace: NMF.Synchronizations
Assembly: NMF.Synchronizations.dll
Syntax
public interface ISynchronizationJob<TLeft, TRight>
Type Parameters
Name | Description |
---|---|
TLeft | The LHS type |
TRight | The RHS type |
Properties
| Edit this page View SourceIsEarly
True, if the job must be executed before any dependency, otherwise False
Declaration
bool IsEarly { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourcePerform(SynchronizationComputation<TLeft, TRight>, SynchronizationDirection, ISynchronizationContext)
Performs the job
Declaration
IDisposable Perform(SynchronizationComputation<TLeft, TRight> computation, SynchronizationDirection direction, ISynchronizationContext context)
Parameters
Type | Name | Description |
---|---|---|
SynchronizationComputation<TLeft, TRight> | computation | The correspondence |
SynchronizationDirection | direction | The direction of the synchronization |
ISynchronizationContext | context | The context of the synchronization |
Returns
Type | Description |
---|---|
IDisposable | A disposable that will be disposed once the correspondence is broken or null |