C# Класс System.Windows.Mvvm.Sample.ViewModels.MainWindowViewModel

Represents the view model for the main window.
Наследование: System.Windows.Mvvm.Services.Navigation.ViewModel
Показать файл Открыть проект

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

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