private InPlaceStoryRunner BuildInPlaceRunner(RemoteTask remoteTask) { _listener = new ResharperResultListener(_server, remoteTask); IScenarioPreprocessor preprocessor = new ScenarioPreprocessor(); return new InPlaceStoryRunner(_listener, preprocessor, new ScenarioInterpreter(new InterpreterForTypeFactory(new ExtensionMethodHandler())), new IncludeAllFilter(), _factory ); }
private IStoryHandler BuildInPlaceRunner(IAmbiguousMatchResolver resolver) { IScenarioPreprocessor preprocessor = new ScenarioPreprocessor(); var sameDomainHandlerFactory = new SameDomainHandlerFactory(new AssemblyGenerator(), _assemblyRegistry,new Filesystem()); return new InPlaceCompilingStoryRunner(sameDomainHandlerFactory, preprocessor, new IncludeAllFilter(), _sessionContext, _eventBus); }
private IStoryHandler BuildInPlaceRunner(IAmbiguousMatchResolver resolver) { IScenarioPreprocessor preprocessor = new ScenarioPreprocessor(); //var interpreterForTypeFactory = new InterpreterForTypeFactory(new ExtensionMethodHandler(_assemblyRegistry)); //var scenarioInterpreter = new ScenarioInterpreter(interpreterForTypeFactory, resolver); //return new InPlaceStoryRunner(preprocessor, scenarioInterpreter, new IncludeAllFilter(), _sessionContext, _eventBus ); return new InPlaceCompilingStoryRunner(new RemoteHandlerFactory(new AssemblyGenerator(), _assemblyRegistry, new Filesystem()), preprocessor, new IncludeAllFilter(), _sessionContext, _eventBus); }