C# Class Subtext.Web.Admin.SiteMap

Exibir arquivo Open project: ayende/Subtext

Public Methods

Method Description
AddPage ( PageLocation value ) : void
ContainsID ( string id ) : bool
GetAncestors ( string id ) : Subtext.Web.Admin.PageLocation[]
GetAncestors ( string id, bool includeSelf ) : Subtext.Web.Admin.PageLocation[]
LoadConfiguration ( ) : void
LoadConfiguration ( string filePath ) : void
this ( string index ) : PageLocation

Protected Methods

Method Description
ClearPages ( ) : void
PopulateLookupList ( ) : void
RecursePageLocations ( PageLocation currentLocation ) : void
SetRoot ( PageLocation root ) : void
SiteMap ( ) : System

Method Details

AddPage() public method

public AddPage ( PageLocation value ) : void
value PageLocation
return void

ClearPages() protected method

protected ClearPages ( ) : void
return void

ContainsID() public method

public ContainsID ( string id ) : bool
id string
return bool

GetAncestors() public method

public GetAncestors ( string id ) : Subtext.Web.Admin.PageLocation[]
id string
return Subtext.Web.Admin.PageLocation[]

GetAncestors() public method

public GetAncestors ( string id, bool includeSelf ) : Subtext.Web.Admin.PageLocation[]
id string
includeSelf bool
return Subtext.Web.Admin.PageLocation[]

LoadConfiguration() public static method

public static LoadConfiguration ( ) : void
return void

LoadConfiguration() public static method

public static LoadConfiguration ( string filePath ) : void
filePath string
return void

PopulateLookupList() protected method

protected PopulateLookupList ( ) : void
return void

RecursePageLocations() protected method

protected RecursePageLocations ( PageLocation currentLocation ) : void
currentLocation PageLocation
return void

SetRoot() protected method

protected SetRoot ( PageLocation root ) : void
root PageLocation
return void

SiteMap() protected method

protected SiteMap ( ) : System
return System

this() public method

public this ( string index ) : PageLocation
index string
return PageLocation