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