public static void OnInstall(Scenario scenario, ScenarioFrame frame) { LotScenario s = scenario as LotScenario; if (s == null) { return; } scenario.Add(frame, new RepopulateLibraryScenario(s.Lot), ScenarioResult.Start); }
public static void OnInstall(Scenario scenario, ScenarioFrame frame) { LotScenario s = scenario as LotScenario; if (s == null) { return; } scenario.Add(frame, new RemoveZeroValueBookScenario(s.Lot), ScenarioResult.Start); }
public static void OnRun(Scenario scenario, ScenarioFrame frame) { LotScenario s = scenario as LotScenario; if (s == null) { return; } scenario.Add(frame, new SellDuplicateResidentialBookScenario(s.Lot), ScenarioResult.Start); }