C# Class Hanasu.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: BaseCrystalApplication
Afficher le fichier Open project: Amrykid/Hanasu

Méthodes publiques

Свойство Type Description
AppFolder Windows.Storage.StorageFolder
HanasuAppSettings AppSettings
ptm Windows.Media.PlayTo.PlayToManager

Private Properties

Свойство Type Description
GetAppFolder System.Threading.Tasks.Task
HookOnMediaElement void
LoadSettings void
LoadStations System.Threading.Tasks.Task
OnSuspending void
OpenPrivacyPolicy void
RegisterBackgroundTask void
SaveSettings void
SetupSettingsCharm void

Méthodes publiques

Méthode Description
App ( ) : Crystal.Core

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_CommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void
App_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
MediaElement_CurrentStateChanged ( object sender, RoutedEventArgs e ) : void
PlayClickSong ( ) : System.Threading.Tasks.Task
PlaySound ( Uri name ) : System.Threading.Tasks.Task
me_MediaEnded ( object sender, RoutedEventArgs e ) : void
me_MediaFailed ( object sender, ExceptionRoutedEventArgs e ) : void

Méthodes protégées

Méthode Description
PostStartup ( ) : void
PostStartupNormalLaunch ( 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.

PostStartupSearchActivated ( SearchActivatedEventArgs args ) : void
PreShutdown ( ) : void
PreStartup ( ) : void

Private Methods

Méthode Description
GetAppFolder ( ) : System.Threading.Tasks.Task
HookOnMediaElement ( ) : void
LoadSettings ( ) : void
LoadStations ( ) : System.Threading.Tasks.Task
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.

OpenPrivacyPolicy ( IUICommand command ) : void
RegisterBackgroundTask ( ) : void
SaveSettings ( ) : void
SetupSettingsCharm ( ) : void

Method Details

App() public méthode

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 ( ) : Crystal.Core
Résultat Crystal.Core

App_CommandsRequested() public méthode

public App_CommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void
sender Windows.UI.ApplicationSettings.SettingsPane
args Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs
Résultat void

App_UnhandledException() public méthode

public App_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e UnhandledExceptionEventArgs
Résultat void

MediaElement_CurrentStateChanged() public méthode

public MediaElement_CurrentStateChanged ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
Résultat void

PlayClickSong() public méthode

public PlayClickSong ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

PlaySound() public méthode

public PlaySound ( Uri name ) : System.Threading.Tasks.Task
name System.Uri
Résultat System.Threading.Tasks.Task

PostStartup() protected méthode

protected PostStartup ( ) : void
Résultat void

PostStartupNormalLaunch() protected méthode

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 PostStartupNormalLaunch ( LaunchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
Résultat void

PostStartupSearchActivated() protected méthode

protected PostStartupSearchActivated ( SearchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.SearchActivatedEventArgs
Résultat void

PreShutdown() protected méthode

protected PreShutdown ( ) : void
Résultat void

PreStartup() protected méthode

protected PreStartup ( ) : void
Résultat void

me_MediaEnded() public méthode

public me_MediaEnded ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
Résultat void

me_MediaFailed() public méthode

public me_MediaFailed ( object sender, ExceptionRoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.ExceptionRoutedEventArgs
Résultat void

Property Details

AppFolder public_oe static_oe property

public static StorageFolder,Windows.Storage AppFolder
Résultat Windows.Storage.StorageFolder

HanasuAppSettings public_oe static_oe property

public static AppSettings,Hanasu HanasuAppSettings
Résultat AppSettings

ptm public_oe property

public Windows.Media.PlayTo.PlayToManager ptm
Résultat Windows.Media.PlayTo.PlayToManager