C# Class Hexa.Core.Web.Services.SeoSiteMapBuilderService

Inheritance: ISeoSiteMapBuilderService
ファイルを表示 Open project: cmendible/Hexa.Core

Public Methods

Method Description
AddUrl ( SeoUrlInfo url ) : void

Adds a url as child of the root url.

AddUrl ( SeoUrlInfo url, SeoUrlInfo parent ) : void

Adds a url as a child of another url.

AddUrl ( SeoUrlInfo url, SeoUrlInfo parent, int preferredDisplayOrder ) : void

Adds a url as a child of another url, and sets the order with which to display the url.

AddUrl ( SeoUrlInfo url, int preferredDisplayOrder ) : void

Adds a url as a child of the root url and sets the order with which the url should be displayed.

GetChildren ( string urlKey ) : ReadOnlyCollection

Gets the children of the specified url.

SeoSiteMapBuilderService ( ) : System

Initialize a new instance of SeoSiteMapBuilderService.

Private Methods

Method Description
AddChildurls ( XmlWriter writer, SeoUrlInfo parent, ReadOnlyCollection children ) : void
AddurlWithOrder ( string parentKey, SeoUrlInfo url, int preferredDisplayOrder ) : void
FormatISODate ( System.DateTime date ) : string
SafeAddurl ( SeoUrlInfo url ) : void
SeoXml ( ) : string
WriteSiteMapurlEntry ( XmlWriter writer, SeoUrlInfo url ) : void

Method Details

AddUrl() public method

Adds a url as child of the root url.
public AddUrl ( SeoUrlInfo url ) : void
url SeoUrlInfo The url to add.
return void

AddUrl() public method

Adds a url as a child of another url.
public AddUrl ( SeoUrlInfo url, SeoUrlInfo parent ) : void
url SeoUrlInfo The url to add.
parent SeoUrlInfo The url under which to add the new url.
return void

AddUrl() public method

Adds a url as a child of another url, and sets the order with which to display the url.
public AddUrl ( SeoUrlInfo url, SeoUrlInfo parent, int preferredDisplayOrder ) : void
url SeoUrlInfo The url to add.
parent SeoUrlInfo The url under which to add the new url.
preferredDisplayOrder int The url display order.
return void

AddUrl() public method

Adds a url as a child of the root url and sets the order with which the url should be displayed.
public AddUrl ( SeoUrlInfo url, int preferredDisplayOrder ) : void
url SeoUrlInfo The url to add.
preferredDisplayOrder int The url display order.
return void

GetChildren() public method

Gets the children of the specified url.
public GetChildren ( string urlKey ) : ReadOnlyCollection
urlKey string The key of the parent url.
return ReadOnlyCollection

SeoSiteMapBuilderService() public method

Initialize a new instance of SeoSiteMapBuilderService.
public SeoSiteMapBuilderService ( ) : System
return System