public LogChangeHandler(IRethinkDbConnectionFactory rethinkDbFactory, IOptions <RethinkDbOptions> options, Microsoft.AspNetCore.SignalR.Infrastructure.IConnectionManager signalManager) { _rethinkDbFactory = rethinkDbFactory; _options = options.Value; _signalManager = signalManager; }
public PostsController ( IPostRepository postRepository, Microsoft.AspNetCore.SignalR.Infrastructure.IConnectionManager connectionManager ) { _postRepository = postRepository; _connectionManager = connectionManager; }
public LogChangeHandler(IRethinkDbConnectionFactory rethinkDbFactory, IOptions <RethinkDbOptions> options, ILogger <LogChangeHandler> logger, Microsoft.AspNetCore.SignalR.Infrastructure.IConnectionManager signalManager) { _rethinkDbFactory = rethinkDbFactory; _options = options.Value; _signalManager = signalManager; _logger = logger; //_conn = R.Connection() // .Hostname(_options.Host) // .Port(_options.Port) // .Timeout(_options.Timeout) // .Connect(); _logger.LogDebug(900, $"Changefeed watcher started."); }