Show / Hide Table of Contents

Class GuardedSynchronizationJob<TLeft, TRight>

Denotes the base class for a synchronization job that is filtered by a guard

Inheritance
object
GuardedSynchronizationJob<TLeft, TRight>
BothGuardedSynchronizationJob<TLeft, TRight>
LeftGuardedSynchronizationJob<TLeft, TRight>
RightGuardedSynchronizationJob<TLeft, TRight>
Implements
ISynchronizationJob<TLeft, TRight>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NMF.Synchronizations
Assembly: NMF.Synchronizations.dll
Syntax
public abstract class GuardedSynchronizationJob<TLeft, TRight> : ISynchronizationJob<TLeft, TRight>
Type Parameters
Name Description
TLeft

The LHS type of the guard

TRight

The RHS type of the guard

Constructors

| Edit this page View Source

GuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight>)

Creates a new guarded synchronization job

Declaration
public GuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight> inner)
Parameters
Type Name Description
ISynchronizationJob<TLeft, TRight> inner

The inner synchronization job

Properties

| Edit this page View Source

IsEarly

True, if the job must be executed before any dependency, otherwise False

Declaration
public bool IsEarly { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

CreateTracker(SynchronizationComputation<TLeft, TRight>)

Creates a tracker for the given computation

Declaration
protected abstract INotifyValue<bool> CreateTracker(SynchronizationComputation<TLeft, TRight> computation)
Parameters
Type Name Description
SynchronizationComputation<TLeft, TRight> computation

The computation that shall be tracked

Returns
Type Description
INotifyValue<bool>
| Edit this page View Source

Perform(SynchronizationComputation<TLeft, TRight>, SynchronizationDirection, ISynchronizationContext)

Performs the job

Declaration
public 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

Implements

ISynchronizationJob<TLeft, TRight>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX