C# Class Sitemap.XML.Models.SitemapItem

Exibir arquivo Open project: vasiliyfomichev/SitecoreSitemapXML Class Usage Examples

Public Methods

Method Description
GetItemUrl ( System.Item item, SiteContext site ) : string
GetSharedItemUrl ( System.Item item, SiteContext site ) : string
HtmlEncode ( string text ) : string
SitemapItem ( System.Item item, SiteContext site, System.Item parentItem ) : System

Private Methods

Method Description
GetSharedItemUrl ( System.Item item, SiteContext site, System.Item parentItem ) : string

Method Details

GetItemUrl() public static method

public static GetItemUrl ( System.Item item, SiteContext site ) : string
item System.Item
site SiteContext
return string

GetSharedItemUrl() public static method

public static GetSharedItemUrl ( System.Item item, SiteContext site ) : string
item System.Item
site SiteContext
return string

HtmlEncode() public static method

public static HtmlEncode ( string text ) : string
text string
return string

SitemapItem() public method

public SitemapItem ( System.Item item, SiteContext site, System.Item parentItem ) : System
item System.Item
site SiteContext
parentItem System.Item
return System