public HotKeyPresenter(IHotKeyDispatcherView view) { _handlerView = view; _handlerView.RegisterHotKey += OnRegisterHotKey; _handlerView.UnregisterHotKey += OnUnregisterHotKey; _handlerView.SetActionsInfos(_dispatcher.ActionsInformation); }
public HotKeyDispatcherPresenter(IHotKeyDispatcherView view) { _view = view; _view.RegisterHotKey += OnRegisterHotKey; _view.UnregisterHotKey += OnUnregisterHotKey; _view.HotKeySelected += OnHotKeySelected; _view.SetActionsInfos(_model.ActionsInformation); _view.SetRegisteredKeyCombinationsList(_model.RegisteredKeyCombinations); }