public HomeController( IConfigurationRoot configuration, IApplicationEnvironment applicationEnvironment, SitemapService sitemapService) { string textContentDirectoryPath = configuration .GetSection("webmarkupmin") .GetSection("Samples")["TextContentDirectoryPath"] ; _fileContentService = new FileContentService(textContentDirectoryPath, applicationEnvironment); _sitemapService = sitemapService; }
public HomeController(FileContentService fileContentService, SitemapService sitemapService) { _fileContentService = fileContentService; _sitemapService = sitemapService; }
public Sitemap(SitemapService sitemapService) { _sitemapService = sitemapService; }