public SnapshotDiagnosisKeys(SnapshotLoggingExtensions logger, DkSourceDbContext dkSourceDbContext, Func <EksPublishingJobDbContext> publishingDbContextFactory, IInfectiousness infectiousness) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _dkSourceDbContext = dkSourceDbContext ?? throw new ArgumentNullException(nameof(dkSourceDbContext)); _publishingDbContextFactory = publishingDbContextFactory ?? throw new ArgumentNullException(nameof(publishingDbContextFactory)); _infectiousness = infectiousness ?? throw new ArgumentNullException(nameof(infectiousness)); }
public SnapshotDiagnosisKeys(SnapshotLoggingExtensions logger, DkSourceDbContext dkSourceDbContext, Func <EksPublishingJobDbContext> publishingDbContextFactory) { _Logger = logger ?? throw new ArgumentNullException(nameof(logger)); _DkSourceDbContext = dkSourceDbContext ?? throw new ArgumentNullException(nameof(dkSourceDbContext)); _PublishingDbContextFactory = publishingDbContextFactory ?? throw new ArgumentNullException(nameof(publishingDbContextFactory)); }