Example #1
0
 public CanaryController(IFitbitService fitbitService, IWithingsService withingsService, ISheetsService sheetsService, IHealthRepository healthRepository)
 {
     _fitbitService    = fitbitService;
     _withingsService  = withingsService;
     _sheetsService    = sheetsService;
     _healthRepository = healthRepository;
 }
Example #2
0
 public FitbitWork(ILogger logger, IHealthService healthService, ICalendar calendar, IFitbitService fitbitService)
 {
     _logger        = logger;
     _healthService = healthService;
     _calendar      = calendar;
     _fitbitService = fitbitService;
 }
 public FitbitController(ILogger logger, IConfig config, IFitbitService fitbitService, IBackgroundJobClient backgroundJobClient, IHangfireWork hangfireWork)
 {
     _logger              = logger;
     _config              = config;
     _fitbitService       = fitbitService;
     _backgroundJobClient = backgroundJobClient;
     _hangfireWork        = hangfireWork;
 }
Example #4
0
 public Importer(ILogger logger, IHealthService healthService, ICalendar calendar, IFitbitService fitbitService, IWithingsService withingsService, ISheetsService sheetsService)
 {
     _logger          = logger;
     _healthService   = healthService;
     _calendar        = calendar;
     _fitbitService   = fitbitService;
     _withingsService = withingsService;
     _sheetsService   = sheetsService;
 }
Example #5
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));
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BreatheServices"/> class.
 /// </summary>
 /// <param name="dispatcherService">The dispatcher service.</param>
 /// <param name="dialogService">The dialog service.</param>
 public BreatheServices(
     IDispatcherService dispatcherService,
     IDialogService dialogService,
     IAdapterWrapper bluetoothManager,
     IFitbitService fitbitService)
 {
     this.DispatcherService = dispatcherService;
     this.DialogService     = dialogService;
     this.BluetoothManager  = bluetoothManager;
     this.FitbitService     = fitbitService;
 }
 public FitbitController(IFitbitService fitbitService)
 {
     FitbitService = fitbitService;
 }