public ShortcutViewModel(IShortcutCollection <string, ILaunchShortcut> shortcutCollection, IShortcutExecutor shortcutExecutor, IEventBus eventBus) { this.shortcutCollection = shortcutCollection; this.shortcutExecutor = shortcutExecutor; this.eventBus = eventBus; selectionCycler = new SelectionCycler(); Initialize(); }
public MainViewModel(IEventBus eventBus, IShortcutCollection <string, ILaunchShortcut> shortcutCollection, IShortcutExecutor shortcutExecutor, ISettingCollection settingCollection, IPluginLoader pluginLoader) { this.eventBus = eventBus; this.shortcutCollection = shortcutCollection; this.shortcutExecutor = shortcutExecutor; this.settingCollection = settingCollection; this.pluginLoader = pluginLoader; Initialize(); }
public ArgumentsViewModel(IShortcutExecutor shortcutExecutor) => this.shortcutExecutor = shortcutExecutor;