public LeaderboardModule(ILogger <LeaderboardModule> logger,
                          IStravaAuthenticationService stravaAuthenticationService,
                          ILeaderboardService leaderboardService)
 {
     _logger = logger;
     _stravaAuthenticationService = stravaAuthenticationService;
     _leaderboardService          = leaderboardService;
 }
Пример #2
0
 public AthleteModule(ILogger <AthleteModule> logger,
                      ILeaderboardParticipantService participantService,
                      IStravaAuthenticationService stravaAuthenticationService,
                      IEmbedBuilderService embedBuilderService,
                      IAthleteService athleteService,
                      IStravaCredentialService stravaCredentialService)
 {
     _logger                      = logger;
     _participantService          = participantService;
     _stravaAuthenticationService = stravaAuthenticationService;
     _embedBuilderService         = embedBuilderService;
     _athleteService              = athleteService;
     _stravaCredentialService     = stravaCredentialService;
 }
Пример #3
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;
 }
Пример #4
0
 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;
 }
Пример #5
0
 public PublicModule(ILogger <PublicModule> logger,
                     CommandService commandService,
                     ILeaderboardParticipantService participantService,
                     IEmbedBuilderService embedBuilderService,
                     IStravaAuthenticationService stravaAuthenticationService,
                     IActivitiesService activityService,
                     ILeaderboardService leaderboardService)
 {
     _logger                      = logger;
     _commandService              = commandService;
     _participantService          = participantService;
     _embedBuilderService         = embedBuilderService;
     _stravaAuthenticationService = stravaAuthenticationService;
     _activityService             = activityService;
     _leaderboardService          = leaderboardService;
 }
 public LeaderboardService(
     BotDbContext dbContext,
     ILogger <LeaderboardService> logger,
     IRoleService roleService,
     ILeaderboardParticipantService participantService,
     IStravaAuthenticationService stravaAuthenticationService,
     IActivitiesService activitiesService,
     IEmbedBuilderService embedBuilderService,
     DiscordSocketClient discordSocketClient)
 {
     _dbContext                   = dbContext;
     _logger                      = logger;
     _roleService                 = roleService;
     _participantService          = participantService;
     _stravaAuthenticationService = stravaAuthenticationService;
     _activitiesService           = activitiesService;
     _embedBuilderService         = embedBuilderService;
     _discordSocketClient         = discordSocketClient;
 }