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

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

            undoManager.Execute(command);
        }