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