public void RemoveItem(int index) { var commandRemove = new CommandRemove <TItem>(index, Items); SizeStack.Push(commandRemove); commandRemove.Do(); }
public void RemoveItem(int index) { var commandRemove = new CommandRemove <TItem>(this, index); commandRemove.Do(); commandStack.Push(commandRemove); }
public void RemoveItem(int index) { //Items.RemoveAt(index); ICommand <TItem> command = new CommandRemove <TItem>(index); Commands.Push(command); command.Do(Items); }