public TaskState GetState()
 {
     _state = Deserialize();
     return(_state);
 }
 public void TaskMementoSaveState(TaskState state)
 {
     _state = state;
     Serialize(state);
 }
 public void LoadTask(TaskMemento memento)
 {
     _state = memento.GetState();
 }
 public TaskMemento()
 {
     _state = new TaskState();
 }
 public void SaveProgress(TaskState inf)
 {//save progress here
     _info.TaskMementoSaveState(inf);
 }