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

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

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes of all managed and unmanaged resources that were allocated.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Disposes of all managed and unmanaged resources that have been allocated. This method can be overridden by sub-classes in order to implement custom disposal logic.

OnExit ( ExitEventArgs e ) : void

Is called just before the application is shut down.

OnExitAsync ( ) : Task

Gets called right before the application quits. This can be overridden by the user to implement custom shutdown logic.

OnStartedAsync ( ApplicationStartedEventArgs eventArguments ) : Task

Gets called after the application startup. This can be overridden by the user to implement custom startup logic and displaying views.

OnStartup ( StartupEventArgs e ) : void

Is called once the application has started.

OnUnhandledExceptionAsync ( UnhandledExceptionEventArgs eventArguments ) : Task

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

메소드 상세

Dispose() 공개 메소드

Disposes of all managed and unmanaged resources that were allocated.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposes of all managed and unmanaged resources that have been allocated. This method can be overridden by sub-classes in order to implement custom disposal logic.
protected Dispose ( bool disposing ) : void
disposing bool /// Determines whether only unmanaged, or managed and unmanaged resources should be disposed of. This is needed when the method is called from the destructor, because when the destructor is called all managed resources have already been disposed of. ///
리턴 void

OnExit() 보호된 메소드

Is called just before the application is shut down.
protected OnExit ( ExitEventArgs e ) : void
e ExitEventArgs The event arguments that contain more information about the application shutdown.
리턴 void

OnExitAsync() 보호된 메소드

Gets called right before the application quits. This can be overridden by the user to implement custom shutdown logic.
protected OnExitAsync ( ) : Task
리턴 Task

OnStartedAsync() 보호된 메소드

Gets called after the application startup. This can be overridden by the user to implement custom startup logic and displaying views.
protected OnStartedAsync ( ApplicationStartedEventArgs eventArguments ) : Task
eventArguments ApplicationStartedEventArgs The arguments that contain more information about the application startup and the navigation service, which can be used to navigate to the intial window and view.
리턴 Task

OnStartup() 보호된 메소드

Is called once the application has started.
protected OnStartup ( StartupEventArgs e ) : void
e StartupEventArgs The event arguments that contain more information about the application startup.
리턴 void

OnUnhandledExceptionAsync() 보호된 메소드

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