yavsccli target
This commit is contained in:
parent
d12667d6de
commit
f39d6c48c5
15 changed files with 85 additions and 107 deletions
|
|
@ -23,17 +23,12 @@ namespace Yavsc.Services
|
|||
|
||||
public class LiveProcessor : ILiveProcessor
|
||||
{
|
||||
readonly IHubContext _hubContext;
|
||||
private readonly ILogger _logger;
|
||||
readonly ApplicationDbContext _dbContext;
|
||||
|
||||
|
||||
public ConcurrentDictionary<string, LiveCastHandler> Casters { get; } = new ConcurrentDictionary<string, LiveCastHandler>();
|
||||
|
||||
public LiveProcessor(ApplicationDbContext dbContext, ILoggerFactory loggerFactory)
|
||||
public LiveProcessor(ILoggerFactory loggerFactory)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
_hubContext = GlobalHost.ConnectionManager.GetHubContext<ChatHub>();
|
||||
_logger = loggerFactory.CreateLogger<LiveProcessor>();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue