public TrendingTagsViewComponent( TrendingTagsCached cache, IOptionsMonitor <PopularContentOptions> optionsAccessor) { this.cache = cache; options = optionsAccessor.CurrentValue; trendingTagsCount = options.TrendingTagsCount; }
public PopularUsersViewComponent( PopularUsersCached cache, IOptionsMonitor <PopularContentOptions> optionsAccessor) { this.cache = cache; options = optionsAccessor.CurrentValue; popularUsersCount = options.PopularUsersCount; }