internal static EngineSetup ConfigureFromRunInfo(this EngineSetup setup, RunInfoBase runInfo) { if (runInfo.SkipRosterFetch) { setup.SkipRosterFetch(); } if (runInfo.SaveToDisk) { setup.SaveToDisk(); } if (runInfo.SaveOriginalSourceFiles) { setup.SaveOriginalSourceFiles(); } return(setup); }