Class EventReceiverBase<T>
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
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
InternalReceiveAsync()
protected Task<T> InternalReceiveAsync()
Returns
- Task<T>
InternalTryReceive(out T)
protected bool InternalTryReceive(out T data)
Parameters
data
T
Returns
InternalTryReceiveAll(ICollection<T>)
protected int InternalTryReceiveAll(ICollection<T> collection)
Parameters
collection
ICollection<T>
Returns
Reset()
Clears all currently buffered events.
public void Reset()