public CaDatabaseLoader(ICaDatabaseUpdater updater, CaDescriptionLoader loader, CaDatabasePathsSource fileSource)
 {
     _updater    = updater ?? throw new ArgumentNullException(nameof(updater));
     _loader     = loader ?? throw new ArgumentNullException(nameof(loader));
     _fileSource = fileSource ?? throw new ArgumentNullException(nameof(fileSource));
 }
Esempio n. 2
0
 public LoggingCaDatabaseUpdater(ICaDatabaseUpdater inner, ILogger <ICaDatabaseUpdater> logger)
 {
     _inner  = inner ?? throw new ArgumentNullException(nameof(inner));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }