yavsccli target
This commit is contained in:
@ -20,9 +20,9 @@ namespace Yavsc.Services
|
||||
/// </summary>
|
||||
public class HubConnectionManager : IConnexionManager
|
||||
{
|
||||
ILogger _logger;
|
||||
private readonly ILogger _logger;
|
||||
|
||||
Action<string, string> _errorHandler;
|
||||
private Action<string, string> _errorHandler;
|
||||
|
||||
/// <summary>
|
||||
/// by cx id
|
||||
|
@ -28,23 +28,21 @@ namespace Yavsc.Services
|
||||
return false;
|
||||
}
|
||||
}
|
||||
UserMatch Out = new OutOfCircle();
|
||||
UserMatch In = new BelongsToCircle();
|
||||
|
||||
readonly ApplicationDbContext _dbContext;
|
||||
readonly ILogger _logger;
|
||||
private readonly UserMatch Out = new OutOfCircle();
|
||||
private readonly UserMatch In = new BelongsToCircle();
|
||||
|
||||
readonly SiteSettings SiteSettings;
|
||||
private readonly ApplicationDbContext _dbContext;
|
||||
|
||||
readonly string aclfileName;
|
||||
private readonly SiteSettings SiteSettings;
|
||||
|
||||
private readonly string aclfileName;
|
||||
|
||||
readonly RuleSetParser ruleSetParser;
|
||||
|
||||
public FileSystemAuthManager(ApplicationDbContext dbContext, ILoggerFactory loggerFactory,
|
||||
IOptions<SiteSettings> sitesOptions)
|
||||
public FileSystemAuthManager(ApplicationDbContext dbContext, IOptions<SiteSettings> sitesOptions)
|
||||
{
|
||||
_dbContext = dbContext;
|
||||
_logger = loggerFactory.CreateLogger<FileSystemAuthManager>();
|
||||
SiteSettings = sitesOptions.Value;
|
||||
aclfileName = SiteSettings.AccessListFileName;
|
||||
ruleSetParser = new RuleSetParser(false);
|
||||
|
@ -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>();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user