예제 #1
0
 public FitbitBearerAuthenticationHandler(
     IFitbitTokenService fitbitTokenService,
     IUserOperationContext userContext)
 {
     _fitbitTokenService = fitbitTokenService;
     _userContext        = userContext;
 }
예제 #2
0
 public ObservationsService(
     IObservationsRepository repository,
     IUserOperationContext operationContext)
 {
     _repository       = repository;
     _operationContext = operationContext;
 }
예제 #3
0
 public IntegrationService(
     IIntegrationRepository integrationRepository,
     IEnumerable <IIntegrationSystemService> integrationSystemServices,
     IUserOperationContext operationContext,
     IEventPublisher eventPublisher)
 {
     _integrationRepository     = integrationRepository;
     _integrationSystemServices = integrationSystemServices;
     _operationContext          = operationContext;
     _eventPublisher            = eventPublisher;
 }
예제 #4
0
 public FitbitController(
     IFitbitService fitbitService,
     IIntegrationService integrationService,
     IUserOperationContext userOperationContext,
     ILogger <FitbitController> logger)
 {
     _fitbitService        = fitbitService ?? throw new ArgumentNullException(nameof(fitbitService));
     _integrationService   = integrationService ?? throw new ArgumentNullException(nameof(integrationService));
     _userOperationContext = userOperationContext ?? throw new ArgumentNullException(nameof(userOperationContext));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
예제 #5
0
 public StravaController(
     IIntegrationService integrationService,
     IStravaAuthenticationService stravaAuthenticationService,
     IStravaSubscriptionService stravaSubscriptionService,
     IStravaUpdateService stravaUpdateService,
     IUserOperationContext operationContext,
     ILogger <StravaController> logger)
 {
     _integrationService          = integrationService;
     _stravaAuthenticationService = stravaAuthenticationService;
     _stravaSubscriptionService   = stravaSubscriptionService;
     _stravaUpdateService         = stravaUpdateService;
     _operationContext            = operationContext;
     _logger = logger;
 }
예제 #6
0
 public HealthRecordService(IFhirClient fhirClient, IUserOperationContext userContext)
 {
     _fhirClient  = fhirClient;
     _userContext = userContext;
 }