C# Class MvcBreadCrumbs.BreadCrumb

Afficher le fichier Open project: thelarz/MvcBreadCrumbs

Private Properties

Свойство Type Description
IsCurrentPage bool

Méthodes publiques

Méthode Description
Add ( string url, string label ) : void
Clear ( ) : void
Display ( string cssClassOverride = "breadcrumb" ) : string
DisplayRaw ( ) : string
GetCurrentUrl ( ) : string

Get the currently active URL from the BreadCrumb

GetOrderedRedirections ( ) : IEnumerable

Get the full list of RedirectResult currently in the breadcrumb. Index 0 being the farthest page.

GetOrderedUrls ( ) : IEnumerable

Get the full list of URL currently in the breadcrumb. Index 0 being the farthest page.

GetPreviousUrl ( ) : string

Get the URL of the preceeding item from the BreadCrumb

RedirectToPreviousUrl ( ) : RedirectResult

Redirects

SetLabel ( string label ) : void

Private Methods

Méthode Description
IsCurrentPage ( int compareKey ) : bool

Method Details

Add() public static méthode

public static Add ( string url, string label ) : void
url string
label string
Résultat void

Clear() public static méthode

public static Clear ( ) : void
Résultat void

Display() public static méthode

public static Display ( string cssClassOverride = "breadcrumb" ) : string
cssClassOverride string
Résultat string

DisplayRaw() public static méthode

public static DisplayRaw ( ) : string
Résultat string

GetCurrentUrl() public static méthode

Get the currently active URL from the BreadCrumb
public static GetCurrentUrl ( ) : string
Résultat string

GetOrderedRedirections() public static méthode

Get the full list of RedirectResult currently in the breadcrumb. Index 0 being the farthest page.
public static GetOrderedRedirections ( ) : IEnumerable
Résultat IEnumerable

GetOrderedUrls() public static méthode

Get the full list of URL currently in the breadcrumb. Index 0 being the farthest page.
public static GetOrderedUrls ( ) : IEnumerable
Résultat IEnumerable

GetPreviousUrl() public static méthode

Get the URL of the preceeding item from the BreadCrumb
public static GetPreviousUrl ( ) : string
Résultat string

RedirectToPreviousUrl() public static méthode

Redirects
public static RedirectToPreviousUrl ( ) : RedirectResult
Résultat RedirectResult

SetLabel() public static méthode

public static SetLabel ( string label ) : void
label string
Résultat void