Esempio n. 1
0
        public static ProgramRunner RunProgram(ProcessLaunchContext launchContext)
        {
            var processHolder = ProcessHolder.Start(launchContext);

            return(new ProgramRunner(processHolder));
        }
Esempio n. 2
0
 public ProgramRunner(ProcessHolder processHolder)
 {
     _processHolder = processHolder.ThrowIfNull(nameof(processHolder));
 }