public static void TriggerEvent(ModelEventType modelEventType, int row, int column) { ModelEvent thisEvent = null; if (instance.eventDictionary.TryGetValue(modelEventType, out thisEvent)) { thisEvent.Invoke(row, column); } }
private void OnModelEvent() { ModelEvent?.Invoke(null, null); }
private void OnGuiKeyActionsSet(ICollection <KeyAction> keyActions) { ModelEvent?.Invoke(this, new GuiKeyActionsEventArgs(keyActions)); }
public void InvokeEvent(object obj, BaseNotification action) { ModelEvent?.Invoke(obj, action); }