Collections
var list = new MementoEntityCollection<String>();
memento.Attach(list);
list.Add("a");
list.Add("b");
list.Add("c");
var count = list.Count; //3
memento.Undo();
//list.Count 2
memento.Redo();
//list.Count 3var list = new MementoEntityCollection<Person>();
memento.Attach(list);
list.Add(new Person());Last updated