Пример #1
0
 public PublicModule(ILogger <PublicModule> logger,
                     CommandService commandService,
                     ICommandCoreService commandCoreService,
                     ILeaderboardParticipantService participantService,
                     IEmbedBuilderService embedBuilderService,
                     IStravaService stravaService)
 {
     _logger              = logger;
     _commandService      = commandService;
     _commandCoreService  = commandCoreService;
     _participantService  = participantService;
     _embedBuilderService = embedBuilderService;
     _stravaService       = stravaService;
 }
Пример #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 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;
 }
Пример #4
0
 public AdminModule(ICommandCoreService commandCoreService,
                    ILogger <AdminModule> logger,
                    IStravaService stravaService,
                    IEmbedBuilderService embedBuilderService,
                    ILeaderboardParticipantService participantService,
                    ILeaderboardResultService leaderboardResultService,
                    IRoleService roleServic)
 {
     _commandCoreService       = commandCoreService;
     _logger                   = logger;
     _stravaService            = stravaService;
     _embedBuilderService      = embedBuilderService;
     _participantService       = participantService;
     _leaderboardResultService = leaderboardResultService;
     _roleServic               = roleServic;
 }
 public WeeklyLeaderboardHostedService(ILogger <WeeklyLeaderboardHostedService> logger,
                                       DiscordSocketClient discordClient,
                                       IStravaService stravaService,
                                       IEmbedBuilderService embedBuilderService,
                                       ILeaderboardService leaderboardService,
                                       ILeaderboardParticipantService participantService,
                                       ILeaderboardResultService leaderboardResultService, IRoleService roleService)
     : base(JOB_CRON_EXPRESSION, TimeZoneInfo.Utc)
 {
     _logger = logger;
     _discordSocketClient      = discordClient;
     _stravaService            = stravaService;
     _embedBuilderService      = embedBuilderService;
     _leaderboardService       = leaderboardService;
     _participantService       = participantService;
     _leaderboardResultService = leaderboardResultService;
     _roleService = roleService;
 }
 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;
 }