C# 클래스 Windows.Mvvm.Application.MvvmApplication

Represents the base class for applications based on the MVVM pattern.
상속: UI.Xaml.Application
파일 보기 프로젝트 열기: lecode-official/mvvm-framework

공개 메소드들

메소드 설명
MvvmApplication ( ) : System.Threading.Tasks

Initializesa a new MvvmApplication instance.

보호된 메소드들

메소드 설명
OnActivated ( IActivatedEventArgs eventArguments ) : void

Gets called when the application is being activated any other way that the normal way.

OnActivatedAsync ( IActivatedEventArgs eventArguments ) : System.Threading.Tasks.Task

Gets called when the app was activated by the user.

OnLaunched ( LaunchActivatedEventArgs eventArguments ) : void

Gets callen wehn the applicaiton is being activated via a launch.

OnResumingAsync ( ) : System.Threading.Tasks.Task

Gets called when the application is being resumed.

OnSuspendingAsync ( ) : System.Threading.Tasks.Task

Gets called when the app is being suspended. Can be used to save the current application state.

OnUnhandledExceptionAsync ( UnhandledExceptionEventArgs eventArguments ) : System.Threading.Tasks.Task

Gets called if an exception was thrown that was not handled by user-code.

메소드 상세

MvvmApplication() 공개 메소드

Initializesa a new MvvmApplication instance.
public MvvmApplication ( ) : System.Threading.Tasks
리턴 System.Threading.Tasks

OnActivated() 보호된 메소드

Gets called when the application is being activated any other way that the normal way.
protected OnActivated ( IActivatedEventArgs eventArguments ) : void
eventArguments IActivatedEventArgs The event arguments, that contain more information about the activation of the application.
리턴 void

OnActivatedAsync() 보호된 메소드

Gets called when the app was activated by the user.
protected OnActivatedAsync ( IActivatedEventArgs eventArguments ) : System.Threading.Tasks.Task
eventArguments IActivatedEventArgs The event argument, that contain more information on the activation of the application.
리턴 System.Threading.Tasks.Task

OnLaunched() 보호된 메소드

Gets callen wehn the applicaiton is being activated via a launch.
protected OnLaunched ( LaunchActivatedEventArgs eventArguments ) : void
eventArguments Windows.ApplicationModel.Activation.LaunchActivatedEventArgs The event arguments, that contain more information about the lauch of the application.
리턴 void

OnResumingAsync() 보호된 메소드

Gets called when the application is being resumed.
protected OnResumingAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnSuspendingAsync() 보호된 메소드

Gets called when the app is being suspended. Can be used to save the current application state.
protected OnSuspendingAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnUnhandledExceptionAsync() 보호된 메소드

Gets called if an exception was thrown that was not handled by user-code.
protected OnUnhandledExceptionAsync ( UnhandledExceptionEventArgs eventArguments ) : System.Threading.Tasks.Task
eventArguments Windows.UI.Xaml.UnhandledExceptionEventArgs The event arguments that contain further information about the exception that was not properly handled by user-code.
리턴 System.Threading.Tasks.Task