Exemplo n.º 1
0
        public HomeController(
			IConfigurationRoot configuration,
			IApplicationEnvironment applicationEnvironment,
			SitemapService sitemapService)
        {
            string textContentDirectoryPath = configuration
                .GetSection("webmarkupmin")
                .GetSection("Samples")["TextContentDirectoryPath"]
                ;

            _fileContentService = new FileContentService(textContentDirectoryPath, applicationEnvironment);
            _sitemapService = sitemapService;
        }
Exemplo n.º 2
0
 public HomeController(FileContentService fileContentService, SitemapService sitemapService)
 {
     _fileContentService = fileContentService;
     _sitemapService = sitemapService;
 }
Exemplo n.º 3
0
 public Sitemap(SitemapService sitemapService)
 {
     _sitemapService = sitemapService;
 }