Exemplo n.º 1
0
 public ThreadedCheckScheduler(
     ICheckLog checkLog,
     ICheckStats checkStats,
     ICheckerFactory checkerFactory,
     ILog log)
 {
     _log            = log ?? throw new ArgumentNullException(nameof(log));
     _checkLog       = checkLog ?? throw new ArgumentNullException(nameof(checkLog));
     _checkStats     = checkStats ?? throw new ArgumentNullException(nameof(checkStats));
     _checkerFactory = checkerFactory ?? throw new ArgumentNullException(nameof(checkerFactory));
 }
Exemplo n.º 2
0
 public StatsController(ICheckStats checkStats)
 {
     _checkStats = checkStats ?? throw new ArgumentNullException(nameof(checkStats));
 }