public RemoteScenarioExecutor(IRemoteTaskServer server, AssemblyRegistry assemblyRegistry) { _server = server; _assemblyRegistry = assemblyRegistry; _sessionContext = new SessionContext(assemblyRegistry); _eventBus = new EventBus(); _listener = new ResharperResultListener(_server); _resolver = new MostRecentlyUsedContext(); _runner = BuildInPlaceRunner(_resolver); _eventBus.Register(_resolver); _eventBus.Register(_listener); }
public RemoteScenarioExecutor(IRemoteTaskServer server, AssemblyRegistry assemblyRegistry) { _server = server; _assemblyRegistry = assemblyRegistry; _sessionContext = new SessionContext(assemblyRegistry); _eventBus = new EventBus(); new EventBusAutoRegistrar(_assemblyRegistry).InstallTo(_eventBus); _listener = new ResharperResultListener(_server); _resolver = new MostRecentlyUsedContext(); _runner = BuildInPlaceRunner(_resolver); _eventBus.Register(_resolver); _eventBus.Register(_listener); ParameterConverter.AddCustomConverters(_assemblyRegistry); }