Beispiel #1
0
 public ReloadPlugin(IShortcutCollection <string, ILaunchShortcut> shortcutCollection,
                     IEventBus eventBus)
 {
     this.shortcutCollection = shortcutCollection;
     this.reloadShortcut     = new ReloadShortcut(shortcutCollection);
     this.eventBus           = eventBus;
     this.eventBus.Subscribe <ShortcutsLoadedEvent>(OnShortcutsLoaded);
 }
        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 ShortcutExecutor(IShortcutCollection <string, ILaunchShortcut> shortcutCollection)
 {
     this.shortcutCollection = shortcutCollection;
     Arguments = new Dictionary <string, string>();
 }
 public RemoteDesktopPlugin(IShortcutCollection <string, ILaunchShortcut> shortcutCollection) => this.shortcutCollection = shortcutCollection;
Beispiel #6
0
 public ReloadShortcut(IShortcutCollection <string, ILaunchShortcut> shortcutCollection) => this.shortcutCollection = shortcutCollection;