Ejemplo n.º 1
0
 public BusinessTests()
 {
     savedVault = new Vault();
     config     = ServiceMock.GetConfiguration();
     vault      = ServiceMock.GetVaultService(savedVault);
     TestHelper.CleanTestFolders(config);
     business = new GrimoireBusiness(new GrimoireService(config, new LogService(config)), vault);
 }
Ejemplo n.º 2
0
 public GrimoireRunner(GrimoireScriptBlock scriptBlock, IGrimoireBusiness business)
 {
     Selected      = false;
     Paused        = false;
     this.business = business;
     ScriptBlock   = scriptBlock;
     Task.Run(() => TimerRun());
     CheckRunOnStart();
 }
Ejemplo n.º 3
0
 public MainWindow(IGrimoireBusiness business)
 {
     this.business = business;
 }
Ejemplo n.º 4
0
 public App(IGrimoireBusiness business)
 {
     this.business = business;
     business.LoadVault();
 }