private void RunrunSet(RunSetConfig runSetConfig) { RunsetExecutor runsetExecutor = new RunsetExecutor(); runsetExecutor.RunSetConfig = runSetConfig; WorkSpace.Instance.RunsetExecutor = runsetExecutor; runsetExecutor.RunRunset(); }
public async void OpenRunSet(string runSetName, string envName) { SolutionRepository SR = WorkSpace.Instance.SolutionRepository; var envs = SR.GetAllRepositoryItems <ProjEnvironment>(); ProjEnvironment projEnvironment = (from x in SR.GetAllRepositoryItems <ProjEnvironment>() where x.Name == envName select x).SingleOrDefault(); RunSetConfig runSetConfig = (from x in SR.GetAllRepositoryItems <RunSetConfig>() where x.Name == runSetName select x).SingleOrDefault(); RunsetExecutor runsetExecutor = new RunsetExecutor(); WorkSpace.Instance.RunsetExecutor = runsetExecutor; runsetExecutor.RunSetConfig = runSetConfig; runsetExecutor.RunsetExecutionEnvironment = projEnvironment; runsetExecutor.InitRunners(); await runsetExecutor.RunRunset(); }
private async void RunSet() { Console.WriteLine(GingerDicser.GetTermResValue(eTermResKey.RunSet) + " Name?"); string runSetName = Console.ReadLine(); RunSetConfig runSetConfig = (from x in SR.GetAllRepositoryItems <RunSetConfig>() where x.Name == runSetName select x).SingleOrDefault(); if (runSetConfig == null) { Console.WriteLine("RunSetConfig not found"); return; } Console.WriteLine("starting RunSetConfig execution"); RunsetExecutor runsetExecuto = new RunsetExecutor(); runsetExecuto.RunSetConfig = runSetConfig; await runsetExecuto.RunRunset(); Console.WriteLine("Execution completed"); }
public void Execute(RunsetExecutor runsetExecutor) { runsetExecutor.RunRunset(); }
public async Task Execute(RunsetExecutor runsetExecutor) { await runsetExecutor.RunRunset(); }