Struct FromQueue<TEvent, TPoint, TPointDelta>
- Namespace
- LfrlAnvil.Reactive.Queues.Composites
- Assembly
- LfrlAnvil.Reactive.Queues.dll
Represents an IEventQueue<TEvent, TPoint, TPointDelta> event.
public readonly struct FromQueue<TEvent, TPoint, TPointDelta>
Type Parameters
TEvent
Event type.
TPoint
Queue point type.
TPointDelta
Queue point delta type.
- Inherited Members
Constructors
FromQueue(EnqueuedEvent<TEvent, TPoint, TPointDelta>, TPoint, TPointDelta)
Creates a new FromQueue<TEvent, TPoint, TPointDelta> instance.
public FromQueue(EnqueuedEvent<TEvent, TPoint, TPointDelta> enqueued, TPoint currentQueuePoint, TPointDelta delta)
Parameters
enqueued
EnqueuedEvent<TEvent, TPoint, TPointDelta>Underlying dequeued event.
currentQueuePoint
TPointQueue's CurrentPoint.
delta
TPointDeltaPoint delta that the queue was moved by.
Properties
CurrentQueuePoint
Queue's CurrentPoint.
public TPoint CurrentQueuePoint { get; }
Property Value
- TPoint
Delta
Point delta that the queue was moved by.
public TPointDelta Delta { get; }
Property Value
- TPointDelta
Enqueued
Underlying dequeued event.
public EnqueuedEvent<TEvent, TPoint, TPointDelta> Enqueued { get; }
Property Value
- EnqueuedEvent<TEvent, TPoint, TPointDelta>
Methods
ToString()
Returns a string representation of this FromQueue<TEvent, TPoint, TPointDelta> instance.
[Pure]
public override string ToString()
Returns
- string
String representation.