public AppDomainRunner(ISpecificationRunListener listener, RunOptions options) { _listener = new RemoteRunListener(listener); _options = options; _signalRunStart = new InvokeOnce(listener.OnRunStart); _signalRunEnd = new InvokeOnce(listener.OnRunEnd); }
/// <summary> /// /// </summary> /// <param name="onFinished">Gets invoked when the runner is done</param> public BufferedAssemblyTeamCityReporter(Action<BufferedAssemblyTeamCityReporter> onFinished) { _buffer = new StringBuilder(); _onFinished = new InvokeOnce<BufferedAssemblyTeamCityReporter>(onFinished); _reporter = new TeamCityReporter(WriteToBuffer, new TimingRunListener()); }