public ChromeSession(string endpoint, ICommandFactory commandFactory, ICommandResponseFactory responseFactory, IEventFactory eventFactory) { _endpoint = endpoint; _commandFactory = commandFactory; _responseFactory = responseFactory; _eventFactory = eventFactory; }
/// <summary> /// Base class for implementing <see cref="IReactiveServiceConnection"/>. /// </summary> /// <param name="serviceProvider">The service provider.</param> /// <param name="commandTextParser">The command text parser.</param> /// <param name="commandResponseFactory">The command response factory.</param> public ReactiveServiceConnection( IReactiveServiceProvider <TExpression> serviceProvider, ICommandTextParser <TExpression> commandTextParser, ICommandResponseFactory commandResponseFactory) { _serviceProvider = serviceProvider; _commandTextParser = commandTextParser; _commandResponseFactory = commandResponseFactory; _executor = new CommandExecutor(this); }