public BuildSessionRunner(BuildConfiguration buildConfig, ICache cache, IMessageBus bus, IConfiguration config, IBuildRunner buildRunner, IPreProcessBuildruns[] buildPreProcessors, IFileSystemService fs, IRunResultCache runCache)
 {
     _cache = cache;
     _runCache = runCache;
     _buildConfig = buildConfig;
     _fs = fs;
     _bus = bus;
     _configuration = config;
     _buildRunner = buildRunner;
     _preBuildProcessors = buildPreProcessors;
 }
 public void SetBuildConfiguration(BuildConfiguration config)
 {
     _buildConfig = config;
 }
 public static void SetBuildConfiguration(BuildConfiguration config)
 {
     _container.SetBuildConfiguration(config);
 }