Class EventKey<T>
public sealed class EventKey<T> : EventKeyBase<T>, IDisposable
Type Parameters
T
- Inheritance
-
EventKeyBase<T>EventKey<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
EventKey(string, string)
public EventKey(string category = "General", string eventName = "Event")
Parameters
Methods
Broadcast(T)
Broadcasts the event to all the receivers
public void Broadcast(T data)
Parameters
data
T