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