Exemplo n.º 1
0
 public ServerNodeService(VanguardDbContext context)
 {
     _context = context;
 }
 public ServerNodeStatusService(IDistributedCache cache, VanguardDbContext dbContext)
 {
     _cache     = cache;
     _dbContext = dbContext;
 }
Exemplo n.º 3
0
 public NodeHub(ILoggerFactory loggerFactory, VanguardDbContext dbContext, ServerNodeStatusService statusService)
 {
     _logger        = loggerFactory.CreateLogger <NodeHub>();
     _dbContext     = dbContext;
     _statusService = statusService;
 }