public MatchWorkflow(WebAppConnector webApp, DownloadSubmissionStep downloadStep, HostConfiguration config, IFanControl fanControl, FileManager fileManager, MatchManager matchManager) { myWebApp = webApp; myDownloadStep = downloadStep; myConfig = config; myFanControl = fanControl; myFileManager = fileManager; myMatchManager = matchManager; }
public ValidationWorkflow(HostConfiguration config, WebAppConnector webApp, DownloadSubmissionStep downloadStep, SetupEnvironmentStep setupEnvironmentStep, StartWorkerProcessStep startWorkerProcessStep, LoadSubmissionStep loadSubmissionStep, IFanControl fanControl) { myConfig = config; myDownloadStep = downloadStep; mySetupEnvironmentStep = setupEnvironmentStep; myStartWorkerProcessStep = startWorkerProcessStep; myLoadSubmissionStep = loadSubmissionStep; myFanControl = fanControl; myServer = webApp.WorkerHubServer ?? throw new ArgumentException(nameof(webApp)); myPipeServer = null !; }