Beispiel #1
0
 public LogsRepository(
     LogsOptions options,
     LogsNotificationService notificationService)
 {
     _options             = options;
     _notificationService = notificationService;
 }
Beispiel #2
0
 public LogsCleanupService(
     LogsOptions options,
     LogsRepository logsRepository)
 {
     _cleanupTimer = new Timer(
         x => _logsRepository.CleanupLogs(),
         null,
         _options.CleanupInterval,
         _options.CleanupInterval);
 }