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

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

공개 메소드들

메소드 설명
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