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

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

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

Метод Описание
CreateTodoListItemViewModel ( NavigationService navigationService, DialogService dialogService, TodoListItemsRepository todoListItemsRepository ) : System

Initializes a new CreateTodoListItemViewModel instance.

OnActivateAsync ( ) : System.Threading.Tasks.Task

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

Описание методов

CreateTodoListItemViewModel() публичный Метод

Initializes a new CreateTodoListItemViewModel instance.
public CreateTodoListItemViewModel ( NavigationService navigationService, DialogService dialogService, TodoListItemsRepository todoListItemsRepository ) : System
navigationService NavigationService The navigation service, which is used to navigate between views.
dialogService DialogService The dialog service, which provides access to the various dialogs offered by Windows.
todoListItemsRepository System.Windows.Mvvm.Sample.Repositories.TodoListItemsRepository The todo list items repository, which can be used to manage the items on the todo list.
Результат System

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