Ejemplo n.º 1
0
 public AppFinder(LaunchablePlugins launchablePlugins, CharacterPlugins characterPlugins, XStream xstream, PersistanceHelper persistanceHelper)
 {
     this.xstream = xstream;
     this.persistanceHelper = persistanceHelper;
     LoadFiles(launchablePlugins);
     history = new History(new File(new FileInfo(Paths.Instance.History)), this.xstream, persistanceHelper);
     this.characterPlugins = characterPlugins;
 }
Ejemplo n.º 2
0
 private void Initialize() {
     XStream = new XStream();
     XStream.AddConverter(new FoldersConverter());
     XStream.AddConverter(new OperationsConverter(this));
     XStream.AddConverter(new Recent.RecentConverter(this));
     XStream.AddConverter(Folder.Converter);
     XStream.AddConverter(File.Converter);
     XStream.Load(new PluginLoader(this).Assemblies);
 }
Ejemplo n.º 3
0
 public History(File historyFile, XStream xstream, PersistanceHelper persistanceHelper)
 {
     this.historyFile = historyFile;
     this.xstream = xstream;
     dictionary = persistanceHelper.LoadOrSaveAndLoad(Paths.Instance.History, dictionary);
 }