C# Класс Hanasu.App

Provides application-specific behavior to supplement the default Application class.
Наследование: BaseCrystalApplication
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
AppFolder Windows.Storage.StorageFolder
HanasuAppSettings AppSettings
ptm Windows.Media.PlayTo.PlayToManager

Private Properties

Свойство Тип Описание
GetAppFolder System.Threading.Tasks.Task
HookOnMediaElement void
LoadSettings void
LoadStations System.Threading.Tasks.Task
OnSuspending void
OpenPrivacyPolicy void
RegisterBackgroundTask void
SaveSettings void
SetupSettingsCharm void

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

App() публичный Метод

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
Результат Crystal.Core

App_CommandsRequested() публичный Метод

public App_CommandsRequested ( SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args ) : void
sender Windows.UI.ApplicationSettings.SettingsPane
args Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs
Результат void

App_UnhandledException() публичный Метод

public App_UnhandledException ( object sender, UnhandledExceptionEventArgs e ) : void
sender object
e UnhandledExceptionEventArgs
Результат void

MediaElement_CurrentStateChanged() публичный Метод

public MediaElement_CurrentStateChanged ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
Результат void

PlayClickSong() публичный Метод

public PlayClickSong ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

PlaySound() публичный Метод

public PlaySound ( Uri name ) : System.Threading.Tasks.Task
name System.Uri
Результат System.Threading.Tasks.Task

PostStartup() защищенный Метод

protected PostStartup ( ) : void
Результат void

PostStartupNormalLaunch() защищенный Метод

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.
Результат void

PostStartupSearchActivated() защищенный Метод

protected PostStartupSearchActivated ( SearchActivatedEventArgs args ) : void
args Windows.ApplicationModel.Activation.SearchActivatedEventArgs
Результат void

PreShutdown() защищенный Метод

protected PreShutdown ( ) : void
Результат void

PreStartup() защищенный Метод

protected PreStartup ( ) : void
Результат void

me_MediaEnded() публичный Метод

public me_MediaEnded ( object sender, RoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.RoutedEventArgs
Результат void

me_MediaFailed() публичный Метод

public me_MediaFailed ( object sender, ExceptionRoutedEventArgs e ) : void
sender object
e Windows.UI.Xaml.ExceptionRoutedEventArgs
Результат void

Описание свойств

AppFolder публичное статическое свойство

public static StorageFolder,Windows.Storage AppFolder
Результат Windows.Storage.StorageFolder

HanasuAppSettings публичное статическое свойство

public static AppSettings,Hanasu HanasuAppSettings
Результат AppSettings

ptm публичное свойство

public Windows.Media.PlayTo.PlayToManager ptm
Результат Windows.Media.PlayTo.PlayToManager