public void Consume(TaskRenamed e) { Rename(e.TaskId, e.NewText); }
public void When(TaskRenamed e) { var item = (TaskItem) _items[e.TaskId]; item.Rename(e.NewText); }
private void Apply(TaskRenamed e) { Title = e.Title; }
public void Consume(TaskRenamed e) { Rename(e.TaskId, e.NewText); }
public void When(TaskRenamed e) { var item = (TaskItem) _items[e.TaskId]; item.Rename(e.NewText); }
private void Apply(TaskRenamed e) { Title = e.Title; }