Interface IEventBus
An interface for the event bus pattern.
Inherited Members
Namespace: StansAssets.Foundation.Patterns
Assembly: cs.temp.dll.dll
Syntax
public interface IEventBus : IReadOnlyEventBus
Methods
Post<T>(T)
Posts and event.
Declaration
void Post<T>(T event)
where T : IEvent
Parameters
| Type | Name | Description |
|---|---|---|
| T | event | An event instance to post. |
Type Parameters
| Name | Description |
|---|---|
| T | Event Type. |