コード例 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="DefaultBenchManager"/>
 /// with a <see cref="DefaultExecutionHost"/> and a <see cref="ConsoleUserInterface"/>.
 /// </summary>
 /// <param name="config">The Bench configuration.</param>
 public DefaultBenchManager(BenchConfiguration config)
 {
     Config = config;
     Downloader = BenchTasks.InitializeDownloader(config);
     Env = new BenchEnvironment(Config);
     ProcessExecutionHost = new DefaultExecutionHost();
     UI = new ConsoleUserInterface();
 }
コード例 #2
0
ファイル: BenchEnvironment.cs プロジェクト: mastersign/bench
 /// <summary>
 /// Initializes a new instance of <see cref="BenchEnvironment"/>.
 /// </summary>
 /// <param name="config">The configuration of the Bench system.</param>
 public BenchEnvironment(BenchConfiguration config)
 {
     Config = config;
 }