Example #1
0
        private static void RunWith(PluginRunner runner)
        {
            var vm     = new MainViewModel(runner);
            var window = new MainWindow(vm);

            window.Closed += (o, e) => runner.Dispose();
            window.Show();
        }
 public MainViewModel(PluginRunner runner)
 {
     _runner = runner;
     Recents = _runner.GetRecentEntries().Reverse().ToList();
 }