C# Class ScrewTurn.Wiki.BreadcrumbsManager

Manages navigation Breadcrumbs.
显示文件 Open project: mono/ScrewTurnWiki

Public Methods

Method Description
AddPage ( System.PageInfo page ) : void

Adds a Page to the Breadcrumbs trail.

BreadcrumbsManager ( ) : System

Initializes a new instance of the BreadcrumbsManager class.

Clear ( ) : void

Clears the Breadcrumbs trail.

RemovePage ( System.PageInfo page ) : void

Removes a Page from the Breadcrumbs trail.

Private Methods

Method Description
FindPage ( System.PageInfo page ) : int

Finds a page by name.

GetCookie ( ) : System.Web.HttpCookie

Gets the cookie.

UpdateCookie ( ) : void

Updates the cookie.

Method Details

AddPage() public method

Adds a Page to the Breadcrumbs trail.
public AddPage ( System.PageInfo page ) : void
page System.PageInfo The Page to add.
return void

BreadcrumbsManager() public method

Initializes a new instance of the BreadcrumbsManager class.
public BreadcrumbsManager ( ) : System
return System

Clear() public method

Clears the Breadcrumbs trail.
public Clear ( ) : void
return void

RemovePage() public method

Removes a Page from the Breadcrumbs trail.
public RemovePage ( System.PageInfo page ) : void
page System.PageInfo The Page to remove.
return void