C# Класс MvcBreadCrumbs.BreadCrumb

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
IsCurrentPage bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
IsCurrentPage ( int compareKey ) : bool

Описание методов

Add() публичный статический Метод

public static Add ( string url, string label ) : void
url string
label string
Результат void

Clear() публичный статический Метод

public static Clear ( ) : void
Результат void

Display() публичный статический Метод

public static Display ( string cssClassOverride = "breadcrumb" ) : string
cssClassOverride string
Результат string

DisplayRaw() публичный статический Метод

public static DisplayRaw ( ) : string
Результат string

GetCurrentUrl() публичный статический Метод

Get the currently active URL from the BreadCrumb
public static GetCurrentUrl ( ) : string
Результат string

GetOrderedRedirections() публичный статический Метод

Get the full list of RedirectResult currently in the breadcrumb. Index 0 being the farthest page.
public static GetOrderedRedirections ( ) : IEnumerable
Результат IEnumerable

GetOrderedUrls() публичный статический Метод

Get the full list of URL currently in the breadcrumb. Index 0 being the farthest page.
public static GetOrderedUrls ( ) : IEnumerable
Результат IEnumerable

GetPreviousUrl() публичный статический Метод

Get the URL of the preceeding item from the BreadCrumb
public static GetPreviousUrl ( ) : string
Результат string

RedirectToPreviousUrl() публичный статический Метод

Redirects
public static RedirectToPreviousUrl ( ) : RedirectResult
Результат RedirectResult

SetLabel() публичный статический Метод

public static SetLabel ( string label ) : void
label string
Результат void