Пример #1
0
 public GenericDeletedAction(IElementsContainer <T> container, T deletedItem)
 {
     _container   = container;
     _deletedItem = deletedItem;
     Name         = $"Element deleted to {_container.GetType()}";
 }
Пример #2
0
 public GenericAddedAction(IElementsContainer <T> container, T addedItem)
 {
     _container = container;
     _addedItem = addedItem;
     Name       = $"Element added to {_container.GetType()}";
 }