C# 클래스 MvcBreadCrumbs.BreadCrumb

파일 보기 프로젝트 열기: thelarz/MvcBreadCrumbs

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