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