protected UrlLikeMessageEntityHandler(TelemetryClient telemetryClient, IHttpClientFactory httpClientFactory, Func <MessageEntityEx, StringSegment> getUrl, ZonedClock clock, DateTimeZone timeZoneInfo, PokemonInfo pokemons, GymHelper gymHelper, IOptions <BotConfiguration> botConfiguration) { myGetUrl = getUrl; myClock = clock; myTimeZoneInfo = timeZoneInfo; myPokemons = pokemons; myGymHelper = gymHelper; myTelemetryClient = telemetryClient; myHttpClientFactory = httpClientFactory; myBotConfiguration = botConfiguration.Value; }
public UrlMessageEntityHandler(TelemetryClient telemetryClient, IHttpClientFactory httpClientFactory, Message message, ZonedClock clock, DateTimeZone timeZoneInfo, ITelegramBotClient bot, PokemonInfo pokemons, GymHelper gymHelper, IOptions <BotConfiguration> botConfiguration) : base(telemetryClient, httpClientFactory, entity => entity.Value, clock, timeZoneInfo, pokemons, gymHelper, botConfiguration) { }
public VenueMessageHandler(PokemonInfo pokemonInfo, GymHelper gymHelper, DateTimeZone dateTimeZone) { myPokemonInfo = pokemonInfo; myGymHelper = gymHelper; myDateTimeZone = dateTimeZone; }