public CompletedListViewModel(INavigationService navigationService, IToDoItemDomainManager toDoItemDomainManager) : base(navigationService) { Title = "Completed"; _toDoItemDomainManager = toDoItemDomainManager; ToDoItems = new ObservableCollection <ToDoItem>(); }
public EditToDoItemPageViewModel(INavigationService navigationService, IToDoItemDomainManager toDoItemDomainManager) : base(navigationService) { Title = "Edit ToDo"; _toDoItemDomainManager = toDoItemDomainManager; SaveCommand = new DelegateCommand(SaveToDoItem); }
public InProgressListViewModel(INavigationService navigationService, IToDoItemDomainManager toDoItemDomainManager) : base(navigationService) { Title = "ToDo"; _toDoItemDomainManager = toDoItemDomainManager; ToDoItems = new ObservableCollection <ToDoItem>(); AddItemCommand = new DelegateCommand(NavigateToEditToDoItem); CompleteCommand = new DelegateCommand(Complete); }