public AddNewTaskPageViewModel(TaskListViewModel taskListViewModel)
 {
     _taskListViewModel = taskListViewModel;
     _task                = new TaskViewModel();
     _task.TaskInfo       = new Models.TaskInformation();
     SubmitNewTaskCommand = new Command(SubmitNewTaskCommandAct);
 }
Exemple #2
0
 public BarcodeInputManuallyViewModel(List <TaskViewModel> toDoTasks, List <TaskViewModel> doneTasks, TaskListViewModel taskListViewModel)
 {
     SubmitBarcodeCommand = new Command(SubmitBarcode);
     _undoneTasks         = toDoTasks;
     _doneTasks           = doneTasks;
     _taskListViewModel   = taskListViewModel;
 }
 public AddNewTaskPageViewModel(String Barcode, TaskListViewModel taskListViewModel)
 {
     _task = new TaskViewModel();
     //_task.Barcode = Barcode;
     _task.TaskInfo         = new Models.TaskInformation();
     _task.TaskInfo.Barcode = Int32.Parse(Barcode);
     _taskListViewModel     = taskListViewModel;
     SubmitNewTaskCommand   = new Command(SubmitNewTaskCommandAct);
 }
 public BarcodeScanPageViewModel(List <TaskViewModel> toDoTasks, List <TaskViewModel> doneTasks, TaskListViewModel taskListViewModel)
 {
     _undoneTasks       = toDoTasks;
     _doneTasks         = doneTasks;
     _taskListViewModel = taskListViewModel;
 }