Exemple #1
0
 public void RegisterMessage(MessageAction message, Classes.IMessageHandler handler)
 {
     registeredHandlers.Add(new MessageHandler(message, handler));
 }
Exemple #2
0
 public MessageHandler(MessageAction type, Classes.IMessageHandler handler)
 {
     Type    = type;
     Handler = handler;
 }