C# Class Sample_App.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
显示文件 Open project: shephertz/App42-WinRT-Samples

Public Methods

Method Description
App ( ) : Sample_App.Common

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().

GetXamlType ( global type ) : global::Windows.UI.Xaml.Markup.IXamlType
GetXamlType ( string fullName ) : global::Windows.UI.Xaml.Markup.IXamlType
GetXmlnsDefinitions ( ) : global::Windows.UI.Xaml.Markup.XmlnsDefinition[]
OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

Private Methods

Method Description
Connect ( int connectionId, object target ) : void
InitializeComponent ( ) : void
OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

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 ( ) : Sample_App.Common
return Sample_App.Common

GetXamlType() public method

public GetXamlType ( global type ) : global::Windows.UI.Xaml.Markup.IXamlType
type global
return global::Windows.UI.Xaml.Markup.IXamlType

GetXamlType() public method

public GetXamlType ( string fullName ) : global::Windows.UI.Xaml.Markup.IXamlType
fullName string
return global::Windows.UI.Xaml.Markup.IXamlType

GetXmlnsDefinitions() public method

public GetXmlnsDefinitions ( ) : global::Windows.UI.Xaml.Markup.XmlnsDefinition[]
return global::Windows.UI.Xaml.Markup.XmlnsDefinition[]

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( LaunchActivatedEventArgs e ) : void
e Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

OnNavigationFailed() public method

Invoked when Navigation to a certain page fails
public OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void
sender object The Frame which failed navigation
e Windows.UI.Xaml.Navigation.NavigationFailedEventArgs Details about the navigation failure
return void