Exemple #1
0
 public IEnumerable<UrlEntry> GetUrls(SitemapContext context)
 {
     return _urls;
 }
Exemple #2
0
 static void RenderSitemap(ISitemapContent content, SitemapContext context, HttpContext httpContext)
 {
     var urls = content.GetUrls(context);
     SitemapSerializer.Serialize(urls).Save(httpContext.Response.Output);
 }