Beispiel #1
0
        public void InsertRange(int index, IEnumerable <T> collection)
        {
            InsertRangeCommand command = new InsertRangeCommand(theList, index, collection);

            undoManager.Execute(command);
        }
Beispiel #2
0
        public void AddRange(IEnumerable <T> collection)
        {
            InsertRangeCommand command = new InsertRangeCommand(theList, theList.Count, collection);

            undoManager.Execute(command);
        }