Interface IEventAggregator<T>
An interface for event aggregators.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Events
Assembly: GameStateTracker.Abstractions.dll
Syntax
public interface IEventAggregator<T> : IEventPublisher<T>
Type Parameters
Name | Description |
---|---|
T | The event type. |
Properties
View SourceRecentEvents
Gets a read-only list of recent events.
Declaration
IReadOnlyList<T> RecentEvents { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<T> |
Methods
View SourceClearEvents()
Clears the list of events.
Declaration
void ClearEvents()