public IksInputSnapshotCommand(ILogger <IksInputSnapshotCommand> logger, DkSourceDbContext dkSourceDbContext, Func <IksPublishingJobDbContext> tekSourceDbContextFunc, IOutboundFixedCountriesOfInterestSetting config) { _Logger = logger ?? throw new ArgumentNullException(nameof(logger)); _DkSourceDbContext = dkSourceDbContext ?? throw new ArgumentNullException(nameof(dkSourceDbContext)); _PublishingDbContextFactory = tekSourceDbContextFunc ?? throw new ArgumentNullException(nameof(tekSourceDbContextFunc)); _Config = config ?? throw new ArgumentNullException(nameof(config)); }
public FixedCountriesOfInterestOutboundDiagnosticKeyProcessor(IOutboundFixedCountriesOfInterestSetting settings) { if (settings == null) { throw new ArgumentNullException(nameof(settings)); } _Value = settings.CountriesOfInterest; }