C# Class Com.Aurora.AuWeather.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
显示文件 Open project: aurora-lzzp/Aurora-Weather

Public Methods

Method Description
App ( ) : Com.Aurora.AuWeather.CustomControls

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

ChangeThemeColor ( Color color ) : void

Protected Methods

Method Description
OnActivated ( IActivatedEventArgs args ) : void
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
App_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
OnNavigationFailed ( object sender, NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

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.

SemanticInterpretation ( string interpretationKey, Windows speechRecognitionResult ) : string

Returns the semantic interpretation of a speech result. Returns null if there is no interpretation for that key.

SetStatusBar ( ) : 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 ( ) : Com.Aurora.AuWeather.CustomControls
return Com.Aurora.AuWeather.CustomControls

ChangeThemeColor() public static method

public static ChangeThemeColor ( Color color ) : void
color Color
return void

OnActivated() protected method

protected OnActivated ( IActivatedEventArgs args ) : void
args IActivatedEventArgs
return void

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