Format:
Recent snippets matching tags of fiskpinnar
/// <summary> /// Creates a string list that contains the hierrarchy leading to the current page /// </summary> /// <param name="currentPage"></param> /// <param name="ReplaceStartWithLangCode"></param> /// <param name="ReverseSort"></param> /// <returns></returns> public static List<string> GetBreadCrumb(PageData currentPage, bool ReplaceStartWithLangCode, bool ReverseSort) { if (currentPage != null)
169 Views
no comments
/// <summary> /// Get all pages from the LinkItemCollection property /// </summary> /// <returns>PageDataCollection</returns> public PageDataCollection GetLinkCollectionPages(string propertyName) { PageDataCollection pages = new PageDataCollection(); LinkItemCollection links = CurrentPage[propertyName] != null ? CurrentPage.Property[propertyName].Value as LinkItemCollection : null; if (links != null) {
189 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
