C# 클래스 Solocast.UWP.Infrastructure.Services.AppShellNavigationService

상속: INavigationService
파일 보기 프로젝트 열기: Solocast/solocast-clients 1 사용 예제들

공개 메소드들

메소드 설명
Configure ( string key, Type pageType ) : void

Adds a key/page pair to the navigation service.

GoBack ( ) : void

If possible, discards the current page and displays the previous page on the navigation stack.

NavigateTo ( string pageKey ) : void

Displays a new page corresponding to the given key. Make sure to call the Configure method first.

NavigateTo ( string pageKey, object parameter ) : void

Displays a new page corresponding to the given key, and passes a parameter to the new page. Make sure to call the Configure method first.

메소드 상세

Configure() 공개 메소드

Adds a key/page pair to the navigation service.
public Configure ( string key, Type pageType ) : void
key string /// The key that will be used later /// in the or methods. ///
pageType System.Type The type of the page corresponding to the key.
리턴 void

GoBack() 공개 메소드

If possible, discards the current page and displays the previous page on the navigation stack.
public GoBack ( ) : void
리턴 void

NavigateTo() 공개 메소드

Displays a new page corresponding to the given key. Make sure to call the Configure method first.
/// When this method is called for /// a key that has not been configured earlier. ///
public NavigateTo ( string pageKey ) : void
pageKey string /// The key corresponding to the page /// that should be displayed. ///
리턴 void

NavigateTo() 공개 메소드

Displays a new page corresponding to the given key, and passes a parameter to the new page. Make sure to call the Configure method first.
/// When this method is called for /// a key that has not been configured earlier. ///
public NavigateTo ( string pageKey, object parameter ) : void
pageKey string /// The key corresponding to the page /// that should be displayed. ///
parameter object /// The parameter that should be passed /// to the new page. ///
리턴 void