public static void TriggerEvent(ModelEventType modelEventType, int row, int column)
        {
            ModelEvent thisEvent = null;

            if (instance.eventDictionary.TryGetValue(modelEventType, out thisEvent))
            {
                thisEvent.Invoke(row, column);
            }
        }
Beispiel #2
0
 private void OnModelEvent()
 {
     ModelEvent?.Invoke(null, null);
 }
Beispiel #3
0
 private void OnGuiKeyActionsSet(ICollection <KeyAction> keyActions)
 {
     ModelEvent?.Invoke(this, new GuiKeyActionsEventArgs(keyActions));
 }
Beispiel #4
0
 public void InvokeEvent(object obj, BaseNotification action)
 {
     ModelEvent?.Invoke(obj, action);
 }