Table of Contents

Class EventReceiverBase<T>

Namespace
Stride.Engine.Events
Assembly
Stride.Engine.dll

Base type for EventReceiver.

public class EventReceiverBase<T> : EventReceiverBase, IDisposable

Type Parameters

T

The type of data the EventKey will send

Inheritance
EventReceiverBase<T>
Implements
Derived
Extension Methods

Properties

Count

Returns the count of currently buffered events

public int Count { get; }

Property Value

int

Key

public EventKeyBase<T> Key { get; }

Property Value

EventKeyBase<T>

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

~EventReceiverBase()

protected ~EventReceiverBase()

GetAwaiter()

public EventReceiverAwaiter<T> GetAwaiter()

Returns

EventReceiverAwaiter<T>

InternalReceiveAsync()

protected Task<T> InternalReceiveAsync()

Returns

Task<T>

InternalTryReceive(out T)

protected bool InternalTryReceive(out T data)

Parameters

data T

Returns

bool

InternalTryReceiveAll(ICollection<T>)

protected int InternalTryReceiveAll(ICollection<T> collection)

Parameters

collection ICollection<T>

Returns

int

Reset()

Clears all currently buffered events.

public void Reset()