/// <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); }
protected override void OnConfigSettingChanged() { this.CommandTextParser = this.GetObject<ICommandTextParser>("parser"); }