Show / Hide Table of Contents

Class BothGuardedSynchronizationJob<TLeft, TRight>

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

Inheritance
object
GuardedSynchronizationJob<TLeft, TRight>
BothGuardedSynchronizationJob<TLeft, TRight>
Implements
ISynchronizationJob<TLeft, TRight>
Inherited Members
GuardedSynchronizationJob<TLeft, TRight>.IsEarly
GuardedSynchronizationJob<TLeft, TRight>.Perform(SynchronizationComputation<TLeft, TRight>, SynchronizationDirection, ISynchronizationContext)
GuardedSynchronizationJob<TLeft, TRight>.CreateTracker(SynchronizationComputation<TLeft, TRight>)
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 class BothGuardedSynchronizationJob<TLeft, TRight> : GuardedSynchronizationJob<TLeft, TRight>, ISynchronizationJob<TLeft, TRight>
Type Parameters
Name Description
TLeft

The LHS type

TRight

The RHS type

Constructors

| Edit this page View Source

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

Creates a new guarded synchronization job

Declaration
public BothGuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight> inner, ObservingFunc<TLeft, TRight, bool> guard)
Parameters
Type Name Description
ISynchronizationJob<TLeft, TRight> inner

The inner synchronization job

ObservingFunc<TLeft, TRight, bool> guard

The actual guard

Methods

| Edit this page View Source

CreateTracker(SynchronizationComputation<TLeft, TRight>)

Creates a tracker for the given computation

Declaration
protected override 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>
Overrides
GuardedSynchronizationJob<TLeft, TRight>.CreateTracker(SynchronizationComputation<TLeft, TRight>)

Implements

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