public FplStandingsCommandHandler(IOptions <FplbotOptions> options, IEnumerable <IPublisherBuilder> publishers, IGameweekClient gameweekClient, ILeagueClient leagueClient) { _options = options; _publishers = publishers; _gameweekClient = gameweekClient; _leagueClient = leagueClient; }
public FplNextGameweekCommandHandler(IEnumerable <IPublisherBuilder> publishers, ISlackClientService slackClientBuilder, IGameweekClient gameweekClient, IFixtureClient fixtureClient, ITeamsClient teamsclient) { _publishers = publishers; _slackClientBuilder = slackClientBuilder; _gameweekClient = gameweekClient; _fixtureClient = fixtureClient; _teamsclient = teamsclient; }
public NextGameweekRecurringAction( IOptions <FplbotOptions> options, IGameweekClient gwClient, ICaptainsByGameWeek captainsByGameweek, ITransfersByGameWeek transfersByGameweek, ILogger <NextGameweekRecurringAction> logger, ITokenStore tokenStore, ISlackClientBuilder slackClientBuilder) : base(options, gwClient, logger, tokenStore, slackClientBuilder) { _captainsByGameweek = captainsByGameweek; _transfersByGameweek = transfersByGameweek; }
protected GameweekRecurringActionBase( IOptions <FplbotOptions> options, IGameweekClient gwClient, ILogger <GameweekRecurringActionBase> logger, ITokenStore tokenStore, ISlackClientBuilder slackClientBuilder) { _options = options; _gwClient = gwClient; _logger = logger; _tokenStore = tokenStore; _slackClientBuilder = slackClientBuilder; }
public GoalMonitorRecurringAction( IOptions <FplbotOptions> options, IGameweekClient gwClient, ILogger <NextGameweekRecurringAction> logger, ITokenStore tokenStore, ISlackClientBuilder slackClientBuilder, IPlayerClient playerClient, IGoalsDuringGameweek goalsDuringGameweek, ITransfersByGameWeek transfersByGameWeek) : base(options, gwClient, logger, tokenStore, slackClientBuilder) { _playerClient = playerClient; _goalsDuringGameweek = goalsDuringGameweek; _transfersByGameWeek = transfersByGameWeek; }
public NearDeadlineRecurringAction( IOptions <FplbotOptions> options, IGameweekClient gwClient, DateTimeUtils dateTimeUtils, ISlackClientBuilder slackClientBuilder, ILogger <NearDeadlineRecurringAction> logger, ITokenStore tokenStore) { _options = options; _gwClient = gwClient; _dateTimeUtils = dateTimeUtils; _slackClientBuilder = slackClientBuilder; _logger = logger; _tokenStore = tokenStore; _minutesBeforeDeadline = 60; }
public GameweekHelper(IGameweekClient gameweekClient) { _gameweekClient = gameweekClient; }
public FplCaptainCommandHandler(IEnumerable <IPublisherBuilder> publishers, IGameweekClient gameweekClient, ICaptainsByGameWeek captainsByGameWeek, IGameweekHelper gameweekHelper) { _publishers = publishers; _captainsByGameWeek = captainsByGameWeek; _gameweekHelper = gameweekHelper; }
public FplClientTests(ITestOutputHelper logger) { _leagueClient = Factory.Create <ILeagueClient>(logger); _gameweekClient = Factory.Create <IGameweekClient>(logger); }