C# 클래스 cloudscribe.Web.SiteMap.NavigationTreeSiteMapNodeService

for those of using cloudscribe.Web.Navigation, we already have this tree object that typically contains most or all the urls that we want to have indexed by search engines so rather than building a new list it is more efficient to dual purpose this same data in order to build our sitemap. That is what this class is for. blog items are typically not in a main navigation menu though so we typically also need a separate ISiteMapNodeService for blog posts
상속: ISiteMapNodeService
파일 보기 프로젝트 열기: joeaudette/cloudscribe.Web.Navigation

공개 메소드들

메소드 설명
GetSiteMapNodes ( CancellationToken cancellationToken = default(CancellationToken) ) : Task>
NavigationTreeSiteMapNodeService ( NavigationTreeBuilderService siteMapTreeBuilder, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccesor, IHttpContextAccessor contextAccessor, ILogger logger ) : cloudscribe.Web.Navigation

비공개 메소드들

메소드 설명
ResolveUrl ( NavigationNode node, IUrlHelper urlHelper ) : string

메소드 상세

GetSiteMapNodes() 공개 메소드

public GetSiteMapNodes ( CancellationToken cancellationToken = default(CancellationToken) ) : Task>
cancellationToken System.Threading.CancellationToken
리턴 Task>

NavigationTreeSiteMapNodeService() 공개 메소드

public NavigationTreeSiteMapNodeService ( NavigationTreeBuilderService siteMapTreeBuilder, IUrlHelperFactory urlHelperFactory, IActionContextAccessor actionContextAccesor, IHttpContextAccessor contextAccessor, ILogger logger ) : cloudscribe.Web.Navigation
siteMapTreeBuilder cloudscribe.Web.Navigation.NavigationTreeBuilderService
urlHelperFactory IUrlHelperFactory
actionContextAccesor IActionContextAccessor
contextAccessor IHttpContextAccessor
logger ILogger
리턴 cloudscribe.Web.Navigation