Nebula
Loading...
Searching...
No Matches
Nebula.Game.MsgDispatcher.MessageChannel< T > Class Template Referencesealed

Inherits Nebula.Game.MsgDispatcher.IMessageChannel.

Public Member Functions

void Add (IMessageHandler< T > handler)
void Remove (Property property)
void Dispatch (in T message)

Properties

bool IsEmpty [get]

Private Attributes

List< IMessageHandler< T > > handlers = new List<IMessageHandler<T>>()

Member Function Documentation

◆ Add()

void Nebula.Game.MsgDispatcher.MessageChannel< T >.Add ( IMessageHandler< T > handler)
inline

◆ Dispatch()

void Nebula.Game.MsgDispatcher.MessageChannel< T >.Dispatch ( in T message)
inline

◆ Remove()

void Nebula.Game.MsgDispatcher.MessageChannel< T >.Remove ( Property property)
inline

Member Data Documentation

◆ handlers

List<IMessageHandler<T> > Nebula.Game.MsgDispatcher.MessageChannel< T >.handlers = new List<IMessageHandler<T>>()
private

Property Documentation

◆ IsEmpty

bool Nebula.Game.MsgDispatcher.MessageChannel< T >.IsEmpty
get

The documentation for this class was generated from the following file: