Ejemplo n.º 1
0
 public static void Open(TaquinEvent key)
 {
     if (eventRegistry.ContainsKey(key))
     {
         return;
     }
     eventRegistry.Add(key, new EventWrapper());
 }
Ejemplo n.º 2
0
 public static void UnsubscribeFrom(TaquinEvent key, Action method) => eventRegistry[key].Unsubscribe(method);
Ejemplo n.º 3
0
 public static void SubscribeTo(TaquinEvent key, Action method) => eventRegistry[key].Subscribe(method);
Ejemplo n.º 4
0
 public static void Call(TaquinEvent key) => eventRegistry[key].Call();