C# 클래스 Hanasu.App

Provides application-specific behavior to supplement the default Application class.
상속: BaseCrystalApplication
파일 보기 프로젝트 열기: Amrykid/Hanasu

공개 프로퍼티들

프로퍼티 타입 설명
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