C# 클래스 System.Windows.Mvvm.Sample.ViewModels.MainWindowViewModel

Represents the view model for the main window.
상속: System.Windows.Mvvm.Services.Navigation.ViewModel
파일 보기 프로젝트 열기: lecode-official/mvvm-framework

공개 메소드들

메소드 설명
MainWindowViewModel ( ApplicationService applicationService ) : System.Threading.Tasks

Initializes a new MainWindowViewModel instance.

OnActivateAsync ( ) : System.Threading.Tasks.Task

Is called when the view model is created. Initializes the commands of the view model.

메소드 상세

MainWindowViewModel() 공개 메소드

Initializes a new MainWindowViewModel instance.
public MainWindowViewModel ( ApplicationService applicationService ) : System.Threading.Tasks
applicationService System.Windows.Mvvm.Services.Application.ApplicationService The application service, which can be used to manage the application lifecycle.
리턴 System.Threading.Tasks

OnActivateAsync() 공개 메소드

Is called when the view model is created. Initializes the commands of the view model.
public OnActivateAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task