public ReflectionDiscovery(IBenchmarkOutput output, IBenchmarkAssertionRunner benchmarkAssertions, RunnerSettings settings) { Output = output; BenchmarkAssertions = benchmarkAssertions; RunnerSettings = settings; if (RunnerSettings.TracingEnabled) { Trace = new BenchmarkOutputTrace(Output); } else { Trace = NoOpBenchmarkTrace.Instance; } }
public ReflectionDiscovery(IBenchmarkOutput output, IBenchmarkAssertionRunner benchmarkAssertions, RunnerSettings settings) { Output = _reflectionOutput = output; BenchmarkAssertions = benchmarkAssertions; RunnerSettings = settings; if(RunnerSettings.TracingEnabled) Trace = new BenchmarkOutputTrace(Output); else Trace = NoOpBenchmarkTrace.Instance; }