Table of Contents

Class LeftGuardedSynchronizationJob<TLeft, TRight>

Namespace
NMF.Synchronizations
Assembly
NMF.Synchronizations.dll

Denotes a synchronization job guarded at the LHS

public class LeftGuardedSynchronizationJob<TLeft, TRight> : GuardedSynchronizationJob<TLeft, TRight>, ISynchronizationJob<TLeft, TRight>

Type Parameters

TLeft

The LHS type

TRight

The RHS type

Inheritance
LeftGuardedSynchronizationJob<TLeft, TRight>
Implements
ISynchronizationJob<TLeft, TRight>
Inherited Members

Constructors

LeftGuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight>, ObservingFunc<TLeft, bool>)

Creates a new synchronization job guarded at the LHS

public LeftGuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight> inner, ObservingFunc<TLeft, bool> guard)

Parameters

inner ISynchronizationJob<TLeft, TRight>

The inner synchronization job

guard ObservingFunc<TLeft, bool>

The guard function

Methods

CreateTracker(SynchronizationComputation<TLeft, TRight>)

Creates a tracker for the given computation

protected override INotifyValue<bool> CreateTracker(SynchronizationComputation<TLeft, TRight> computation)

Parameters

computation SynchronizationComputation<TLeft, TRight>

The computation that shall be tracked

Returns

INotifyValue<bool>