메소드 | 설명 | |
---|---|---|
MainViewModel ( NavigationService navigationService, |
Initializes a new MainViewModel instance.
|
|
OnActivateAsync ( ) : System.Threading.Tasks.Task |
Is called when the view model is created. Initializes the commands of the view model.
|
|
OnNavigateToAsync ( |
Is called when the user is navigated to the view of this view model. Loads the todo list items from storage.
|
public MainViewModel ( NavigationService navigationService, |
||
navigationService | NavigationService | |
todoListItemsRepository | The todo list items repository, which can be used to manage the items on the todo list. | |
리턴 | System.Linq |
public OnActivateAsync ( ) : System.Threading.Tasks.Task | ||
리턴 | System.Threading.Tasks.Task |
public OnNavigateToAsync ( |
||
e | The navigation arguments, that contain more information about the navigation. | |
리턴 | System.Threading.Tasks.Task |