protected bool Equals(AddedNewTodoList other) { return(Id.Equals(other.Id) && string.Equals(Name, other.Name)); }
void When(AddedNewTodoList @event) { Id = new TodoListId(@event.Id); _items = new List <TodoListItem>(); }