C# 클래스 Rock.Web.PageReference

Helper class to work with the PageReference field type
파일 보기 프로젝트 열기: SparkDevNetwork/Rock 1 사용 예제들

공개 메소드들

메소드 설명
BuildUrl ( ) : string

Builds the URL.

GetParentPageReferences ( RockPage rockPage, PageCache currentPage, PageReference currentPageReference ) : List

Gets the parent page references.

PageReference ( ) : System

Initializes a new instance of the PageReference class.

PageReference ( PageReference pageReference ) : System

Initializes a new instance of the PageReference class.

PageReference ( Uri uri, string applicationPath ) : System

Initializes a new instance of the PageReference class from a url.

PageReference ( int pageId ) : System

Initializes a new instance of the PageReference class.

PageReference ( int pageId, int routeId ) : System

Initializes a new instance of the PageReference class.

PageReference ( int pageId, int routeId, string>.Dictionary parameters ) : System

Initializes a new instance of the PageReference class.

PageReference ( int pageId, int routeId, string>.Dictionary parameters, NameValueCollection queryString ) : System

Initializes a new instance of the PageReference class.

PageReference ( string linkedPageValue, string>.Dictionary parameters = null, NameValueCollection queryString = null ) : System

Initializes a new instance of the PageReference class.

SavePageReferences ( List pageReferences ) : void

Saves the history.

ToString ( ) : string

Returns a System.String that represents this instance.

비공개 메소드들

메소드 설명
BuildRouteURL ( string>.Dictionary parms ) : string

Builds the route URL.

GetRouteIdFromPageAndParms ( ) : int?

Gets the route id from page and parms.

메소드 상세

BuildUrl() 공개 메소드

Builds the URL.
public BuildUrl ( ) : string
리턴 string

GetParentPageReferences() 공개 정적인 메소드

Gets the parent page references.
public static GetParentPageReferences ( RockPage rockPage, PageCache currentPage, PageReference currentPageReference ) : List
rockPage Rock.Web.UI.RockPage
currentPage PageCache
currentPageReference PageReference
리턴 List

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( ) : System
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( PageReference pageReference ) : System
pageReference PageReference The page reference.
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class from a url.
public PageReference ( Uri uri, string applicationPath ) : System
uri System.Uri The URI e.g.: new Uri( ResolveRockUrlIncludeRoot("~/Person/5")
applicationPath string The application path e.g.: HttpContext.Current.Request.ApplicationPath
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( int pageId ) : System
pageId int The page id.
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( int pageId, int routeId ) : System
pageId int The page id.
routeId int The route id.
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( int pageId, int routeId, string>.Dictionary parameters ) : System
pageId int The page id.
routeId int The route id.
parameters string>.Dictionary The route parameters.
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( int pageId, int routeId, string>.Dictionary parameters, NameValueCollection queryString ) : System
pageId int The page id.
routeId int The route id.
parameters string>.Dictionary The route parameters.
queryString System.Collections.Specialized.NameValueCollection The query string.
리턴 System

PageReference() 공개 메소드

Initializes a new instance of the PageReference class.
public PageReference ( string linkedPageValue, string>.Dictionary parameters = null, NameValueCollection queryString = null ) : System
linkedPageValue string The linked page value.
parameters string>.Dictionary The parameters.
queryString System.Collections.Specialized.NameValueCollection The query string.
리턴 System

SavePageReferences() 공개 정적인 메소드

Saves the history.
public static SavePageReferences ( List pageReferences ) : void
pageReferences List The page references.
리턴 void

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string