private void SetConfiguration(IConfiguration config) { _cmConf = new CommunityMegaphoneConfiguration { Url = config["CommunityMegaphone:Url"] }; _mConf = new MeetupConfiguration { Url = config["Meetup:Url"], ApiKey = config["Meetup:ApiKey"] }; }
// private readonly IMemoryCache _cache; public MeetupChannel(IHttpService t, MeetupConfiguration c) { _transport = t; _conf = c; // _cache = new MemoryCache(new MemoryCacheOptions()); }