C# Class SDKTemplate.App

Inheritance: global::Windows.UI.Xaml.Markup.IXamlMetadataProvider
Exibir arquivo Open project: jkuemerle/CodeMash2013

Public Methods

Method Description
App ( ) : System.Threading.Tasks

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

App ( ) : Windows.ApplicationModel

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs args ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.

OnSearchActivated ( SearchActivatedEventArgs args ) : void

This is the handler for Search activation.

OnShareTargetActivated ( ShareTargetActivatedEventArgs args ) : void

Private Methods

Method Description
EnsureMainPageActivatedAsync ( IActivatedEventArgs args ) : Task
OnSuspending ( object sender, SuspendingEventArgs args ) : void

Method Details

App() public method

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : System.Threading.Tasks
return System.Threading.Tasks

App() public method

Initializes the singleton application object. This is the first line of authored code executed, and as such is the logical equivalent of main() or WinMain().
public App ( ) : Windows.ApplicationModel
return Windows.ApplicationModel

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used when the application is launched to open a specific file, to display search results, and so forth.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args LaunchActivatedEventArgs Details about the launch request and process.
return void

OnSearchActivated() protected method

This is the handler for Search activation.
protected OnSearchActivated ( SearchActivatedEventArgs args ) : void
args SearchActivatedEventArgs This is the list of arguments for search activation, including QueryText and Language
return void

OnShareTargetActivated() protected method

protected OnShareTargetActivated ( ShareTargetActivatedEventArgs args ) : void
args ShareTargetActivatedEventArgs
return void