C# 클래스 MediaAppSample.Core.Services.NavigationManagerBase

Base class for accessing navigation services on the platform currently executing.
상속: ServiceBase
파일 보기 프로젝트 열기: Microsoft/TVHelpers

공개 메소드들

메소드 설명
About ( ) : void
AccountForgot ( object parameter = null ) : void
AccountSignin ( object parameter = null ) : void
AccountSignup ( object parameter = null ) : void
CanGoBack ( ) : bool

Indicates whether or not a back navigation can occur. Will also check to see if the frame contains a WebView and if the WebView can go back as well.

CanGoForward ( ) : bool

Indicates whether or not a forward navigation can occur. Will also check to see if the frame contains a WebView and if the WebView can go forward as well.

ClearBackstack ( ) : void

Clears the navigation backstack of the window.

Details ( object parameter ) : void
Exit ( ) : void

Exits an application.

GoBack ( ) : bool

Navigates back one page. Will also check to see if the frame contains a WebView and if the WebView can go back, it will perform back on that WebView instead.

GoForward ( ) : bool

Navigates forward one page. Will also check to see if the frame contains a WebView and if the WebView can go forward, it will perform forward on that WebView instead.

HandleActivation ( IActivatedEventArgs e, Frame rootFrame ) : void

Handle activation of the event and any navigation necessary.

Home ( object parameter = null ) : void
Media ( object parameter ) : void
Movies ( ) : void
NavigateTo ( NavigationRequest request ) : void

Navigates to a page specified in the navigation request object.

NavigateTo ( object model ) : void
NavigateToWebBrowser ( string webAddress ) : void

Navigates to an external web browser.

NavigateToWebView ( string webAddress ) : void

Navigates to an internal app web browser.

PrivacyPolicy ( ) : void
Queue ( ) : void
RateApplicationAsync ( ) : Task
RemovePreviousPage ( ) : void

Removes the previous page in the navigation backstack.

Search ( object parameter = null ) : void
SendEmailAsync ( string subject, string body, string toRecipient ) : Task

Send an e-mail.

SendEmailAsync ( string subject, string body, string toRecipients, string ccRecipients = null ) : Task

Send an e-mail.

SendEmailAsync ( string subject, string body, string toRecipients, string ccRecipients, string bccRecipients ) : Task

Send an e-mail.

Settings ( object parameter = null ) : void
TV ( ) : void
TermsOfService ( ) : void
UpdateTitleBarBackButton ( ) : void

Updates the navigate back button in the app window's title bar.

Welcome ( object parameter = null ) : void

보호된 메소드들

메소드 설명
CreateFrame ( ) : Frame
Initialize ( ) : void

Initialization logic which is called on launch of this application.

OnActivation ( LaunchActivatedEventArgs e ) : bool
OnActivation ( ProtocolActivatedEventArgs e ) : bool
OnActivation ( ToastNotificationActivatedEventArgs e ) : bool
OnActivation ( VoiceCommandActivatedEventArgs e ) : bool
SerializeParameter ( object obj ) : object

Serializes a parameter to string if not a primitive type so that app suspension can properly happen.

WebView ( object parameter ) : void

비공개 메소드들

메소드 설명
CoreDispatcher_AcceleratorKeyActivated ( CoreDispatcher sender, AcceleratorKeyEventArgs e ) : void

Invoked on every keystroke, including system keys such as Alt key combinations, when this page is active and occupies the entire window. Used to detect keyboard navigation between pages even when the page itself doesn't have focus.

CoreWindow_PointerPressed ( CoreWindow sender, PointerEventArgs e ) : void

Invoked on every mouse click, touch screen tap, or equivalent interaction when this page is active and occupies the entire window. Used to detect browser-style next and previous mouse button clicks to navigate between pages.

HardwareButtons_BackPressed ( object sender, Windows e ) : void

Invoked when the hardware back button is pressed. For Windows Phone only.

NavigateToWeb ( string webAddress, bool showExternally ) : void
RegisterCoreWindow ( ) : void

Registers the window with all window events.

ViewBase_BackRequested ( object sender, BackRequestedEventArgs e ) : void
ViewModelAllowGoBack ( Frame frame ) : bool

Checks a ViewModels to see if it will allow a nagivation back.

ViewModelAllowGoForward ( Frame frame ) : bool

Checks a ViewModels to see if it will allow a nagivation forward.

메소드 상세

About() 공개 메소드

public About ( ) : void
리턴 void

AccountForgot() 공개 추상적인 메소드

public abstract AccountForgot ( object parameter = null ) : void
parameter object
리턴 void

AccountSignin() 공개 추상적인 메소드

public abstract AccountSignin ( object parameter = null ) : void
parameter object
리턴 void

AccountSignup() 공개 추상적인 메소드

public abstract AccountSignup ( object parameter = null ) : void
parameter object
리턴 void

CanGoBack() 공개 메소드

Indicates whether or not a back navigation can occur. Will also check to see if the frame contains a WebView and if the WebView can go back as well.
public CanGoBack ( ) : bool
리턴 bool

CanGoForward() 공개 메소드

Indicates whether or not a forward navigation can occur. Will also check to see if the frame contains a WebView and if the WebView can go forward as well.
public CanGoForward ( ) : bool
리턴 bool

ClearBackstack() 공개 메소드

Clears the navigation backstack of the window.
public ClearBackstack ( ) : void
리턴 void

CreateFrame() 보호된 추상적인 메소드

protected abstract CreateFrame ( ) : Frame
리턴 Windows.UI.Xaml.Controls.Frame

Details() 공개 추상적인 메소드

public abstract Details ( object parameter ) : void
parameter object
리턴 void

Exit() 공개 메소드

Exits an application.
public Exit ( ) : void
리턴 void

GoBack() 공개 메소드

Navigates back one page. Will also check to see if the frame contains a WebView and if the WebView can go back, it will perform back on that WebView instead.
public GoBack ( ) : bool
리턴 bool

GoForward() 공개 메소드

Navigates forward one page. Will also check to see if the frame contains a WebView and if the WebView can go forward, it will perform forward on that WebView instead.
public GoForward ( ) : bool
리턴 bool

HandleActivation() 공개 메소드

Handle activation of the event and any navigation necessary.
public HandleActivation ( IActivatedEventArgs e, Frame rootFrame ) : void
e IActivatedEventArgs Activation args.
rootFrame Windows.UI.Xaml.Controls.Frame Root frame of the app.
리턴 void

Home() 공개 추상적인 메소드

public abstract Home ( object parameter = null ) : void
parameter object
리턴 void

Initialize() 보호된 메소드

Initialization logic which is called on launch of this application.
protected Initialize ( ) : void
리턴 void

Media() 공개 추상적인 메소드

public abstract Media ( object parameter ) : void
parameter object
리턴 void

Movies() 공개 추상적인 메소드

public abstract Movies ( ) : void
리턴 void

NavigateTo() 공개 메소드

Navigates to a page specified in the navigation request object.
public NavigateTo ( NavigationRequest request ) : void
request NavigationRequest Request object instance.
리턴 void

NavigateTo() 공개 추상적인 메소드

public abstract NavigateTo ( object model ) : void
model object
리턴 void

NavigateToWebBrowser() 공개 메소드

Navigates to an external web browser.
public NavigateToWebBrowser ( string webAddress ) : void
webAddress string URL to navigate to.
리턴 void

NavigateToWebView() 공개 메소드

Navigates to an internal app web browser.
public NavigateToWebView ( string webAddress ) : void
webAddress string URL to navigate to.
리턴 void

OnActivation() 보호된 추상적인 메소드

protected abstract OnActivation ( LaunchActivatedEventArgs e ) : bool
e Windows.ApplicationModel.Activation.LaunchActivatedEventArgs
리턴 bool

OnActivation() 보호된 추상적인 메소드

protected abstract OnActivation ( ProtocolActivatedEventArgs e ) : bool
e Windows.ApplicationModel.Activation.ProtocolActivatedEventArgs
리턴 bool

OnActivation() 보호된 추상적인 메소드

protected abstract OnActivation ( ToastNotificationActivatedEventArgs e ) : bool
e ToastNotificationActivatedEventArgs
리턴 bool

OnActivation() 보호된 추상적인 메소드

protected abstract OnActivation ( VoiceCommandActivatedEventArgs e ) : bool
e VoiceCommandActivatedEventArgs
리턴 bool

PrivacyPolicy() 공개 메소드

public PrivacyPolicy ( ) : void
리턴 void

Queue() 공개 추상적인 메소드

public abstract Queue ( ) : void
리턴 void

RateApplicationAsync() 공개 메소드

public RateApplicationAsync ( ) : Task
리턴 Task

RemovePreviousPage() 공개 메소드

Removes the previous page in the navigation backstack.
public RemovePreviousPage ( ) : void
리턴 void

Search() 공개 추상적인 메소드

public abstract Search ( object parameter = null ) : void
parameter object
리턴 void

SendEmailAsync() 공개 메소드

Send an e-mail.
public SendEmailAsync ( string subject, string body, string toRecipient ) : Task
subject string Subject of the message
body string Body of the message
toRecipient string
리턴 Task

SendEmailAsync() 공개 메소드

Send an e-mail.
public SendEmailAsync ( string subject, string body, string toRecipients, string ccRecipients = null ) : Task
subject string Subject of the message
body string Body of the message
toRecipients string To recipients
ccRecipients string CC recipients
리턴 Task

SendEmailAsync() 공개 메소드

Send an e-mail.
public SendEmailAsync ( string subject, string body, string toRecipients, string ccRecipients, string bccRecipients ) : Task
subject string Subject of the message
body string Body of the message
toRecipients string To recipients
ccRecipients string CC recipients
bccRecipients string BCC recipients
리턴 Task

SerializeParameter() 보호된 메소드

Serializes a parameter to string if not a primitive type so that app suspension can properly happen.
protected SerializeParameter ( object obj ) : object
obj object Parameter object to serialize.
리턴 object

Settings() 공개 추상적인 메소드

public abstract Settings ( object parameter = null ) : void
parameter object
리턴 void

TV() 공개 추상적인 메소드

public abstract TV ( ) : void
리턴 void

TermsOfService() 공개 메소드

public TermsOfService ( ) : void
리턴 void

UpdateTitleBarBackButton() 공개 메소드

Updates the navigate back button in the app window's title bar.
public UpdateTitleBarBackButton ( ) : void
리턴 void

WebView() 보호된 추상적인 메소드

protected abstract WebView ( object parameter ) : void
parameter object
리턴 void

Welcome() 공개 추상적인 메소드

public abstract Welcome ( object parameter = null ) : void
parameter object
리턴 void