Class EventHub
Syntax
Methods
Broadcast<T>(T)
Declaration
public void Broadcast<T>(T message)
where T : class
Parameters
Type |
Name |
Description |
T |
message |
|
Type Parameters
CreateGroup()
Declaration
public EventHub.Group CreateGroup()
Returns
DestroyGroup(EventHub.Group)
Declaration
public void DestroyGroup(EventHub.Group group)
Parameters
Subscribe<T>(Action<T>)
Declaration
public EventHub.Handle Subscribe<T>(Action<T> action)
where T : class
Parameters
Type |
Name |
Description |
Action<T> |
action |
|
Returns
Type Parameters
Subscribe<T>(EventHub.Group, Action<T>)
Declaration
public void Subscribe<T>(EventHub.Group group, Action<T> action)
where T : class
Parameters
Type Parameters
Unsubscribe(EventHub.Handle)
Declaration
public void Unsubscribe(EventHub.Handle handle)
Parameters