public FitbitProviderUpdateEventHandler( IFitbitClient fitbitClient, IFitbitTokenService fitbitTokenService, IIoMTDataPublisher iomtDataPublisher, IFhirClient fhirClient, ILogger <FitbitProviderUpdateEventHandler> logger) { _fitbitClient = fitbitClient ?? throw new ArgumentNullException(nameof(fitbitClient)); _fitbitTokenService = fitbitTokenService ?? throw new ArgumentNullException(nameof(fitbitTokenService)); _iomtDataPublisher = iomtDataPublisher ?? throw new ArgumentNullException(nameof(iomtDataPublisher)); _fhirClient = fhirClient ?? throw new ArgumentNullException(nameof(fhirClient)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public StravaProviderUpdateEventHandler( IStravaClient stravaClient, IStravaAuthenticationService stravaAuthenticationService, ILogger <StravaProviderUpdateEventHandler> logger, IIntegrationRepository integrationRepository, IIoMTDataPublisher iomtDataPublisher, IFhirClient fhirClient) { _stravaClient = stravaClient; _stravaAuthenticationService = stravaAuthenticationService; _logger = logger; _integrationRepository = integrationRepository; _iomtDataPublisher = iomtDataPublisher; _fhirClient = fhirClient; }