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

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