Exemple #1
0
 protected void registerClassMessage(Selector selector, Func <BaseClass, Message, IObject> function)
 {
     if (!classMessages.ContainsKey(selector))
     {
         classMessages[selector] = function;
     }
 }
Exemple #2
0
 protected void registerMessage(Selector selector, Func <IObject, Message, IObject> function)
 {
     if (!messages.ContainsKey(selector))
     {
         messages[selector] = function;
     }
 }