Esempio n. 1
0
 public void Unsubscribe <TSender, TArgs>(object subscriber, string message) where TSender : class
 {
     Dispenser.GetMessenger().Unsubscribe <TSender, TArgs>(subscriber, message);
 }
Esempio n. 2
0
 public void Subscribe <TSender>(object subscriber, string message, Action <TSender> callback, TSender source = default(TSender)) where TSender : class
 {
     Dispenser.GetMessenger().Subscribe(subscriber, message, callback, source);
 }
Esempio n. 3
0
 public void Send <TSender, TArgs>(TSender sender, string message, TArgs args) where TSender : class
 {
     Dispenser.GetMessenger().Send(sender, message, args);
 }
Esempio n. 4
0
 public void Send <TSender>(TSender sender, string message) where TSender : class
 {
     Dispenser.GetMessenger().Send(sender, message);
 }
Esempio n. 5
0
 public void ResetMessenger()
 {
     Dispenser.GetMessenger().ResetMessenger();
 }