Table of Contents

Struct EventDispatcherGate

Namespace
Ceres.Events
Assembly
Ceres.dll

Gates control when the dispatcher processes events.

public readonly struct EventDispatcherGate : IDisposable, IEquatable<EventDispatcherGate>
Implements
Inherited Members
Extension Methods

Constructors

EventDispatcherGate(EventDispatcher)

Constructor.

public EventDispatcherGate(EventDispatcher d)

Parameters

d EventDispatcher

The dispatcher controlled by this gate.

Methods

Dispose()

Implementation of IDisposable.Dispose. Opens the gate. If all gates are open, events in the queue are processed.

public void Dispose()

Equals(EventDispatcherGate)

public bool Equals(EventDispatcherGate other)

Parameters

other EventDispatcherGate

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(EventDispatcherGate, EventDispatcherGate)

public static bool operator ==(EventDispatcherGate left, EventDispatcherGate right)

Parameters

left EventDispatcherGate
right EventDispatcherGate

Returns

bool

operator !=(EventDispatcherGate, EventDispatcherGate)

public static bool operator !=(EventDispatcherGate left, EventDispatcherGate right)

Parameters

left EventDispatcherGate
right EventDispatcherGate

Returns

bool