Table of Contents

Class BothGuardedSynchronizationJob<TLeft, TRight>

Namespace
NMF.Synchronizations
Assembly
NMF.Synchronizations.dll

Denotes a class that represents a synchronization job guarded at both LHS and RHS

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

Type Parameters

TLeft

The LHS type

TRight

The RHS type

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

Constructors

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

Creates a new guarded synchronization job

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

Parameters

inner ISynchronizationJob<TLeft, TRight>

The inner synchronization job

guard ObservingFunc<TLeft, TRight, bool>

The actual guard

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>