Ejemplo n.º 1
0
        public Cache()
        {
            this._defaultActions = new List <WoosterAction>(PredefinedActions.GetPredefinedActions());
            this._defaultActions.Add(new WoosterAction("Recache Wooster data", s => this.RecacheData()));
            //this._defaultActions.Add(new WoosterAction("Open Wooster preferences", s=> DialogService.ShowDialog(new PreferencesViewModel(), 700, 600)));
            this._defaultActions.Add(new WoosterAction("Open Wooster config folder", s => Process.Start(Path.GetDirectoryName(Config.GetRealConfigPath()))));

            this.ProgramShortcutActions = new List <ProgramShortcutAction>();
        }