public SitemapGenerator(UrlHelper urlHelper, IGroupService groupService, IPageService pageService, IPostService postService, ICategoryService categoryService, INewsService newsService, IGenreService genreService, IPublisherService publisherService, IArtistService artistService, IAlbumService albumService, ITrackService trackService, IPollService pollService, ISitemapSettingsService sitemapSettingsService) { _urlHelper = urlHelper; _groupService = groupService; _pageService = pageService; _postService = postService; _categoryService = categoryService; _newsService = newsService; _genreService = genreService; _publisherService = publisherService; _artistService = artistService; _albumService = albumService; _trackService = trackService; _pollService = pollService; _sitemapSettings = sitemapSettingsService.LoadSitemapSettings(); }
protected override Func <SitemapSettings> GetSettings() { return(() => _sitemapSettingsService.LoadSitemapSettings()); }