Interface IExtendedList<T>
- Namespace
- Dynamic
Data
- Assembly
- DynamicData.dll
Represents a list which supports range operations.
Type Parameters
TThe type of the item.
- Inherited Members
- Extension Methods
Methods
AddRange(IEnumerable<T>)
Adds the elements of the specified collection to the end of the collection.
Parameters
collectionIEnumerable<T>The items to add.
Exceptions
- Argument
Null Exception collectionis null.
InsertRange(IEnumerable<T>, int)
Inserts the elements of a collection into the List<T> at the specified index.
Parameters
collectionIEnumerable<T>The items to insert.
indexintThe zero-based index at which the new elements should be inserted.
Exceptions
- Argument
Null Exception collectionis null.- Argument
Out OfRange Exception indexis less than 0.-or-indexis greater than Count.
Move(int, int)
Moves an item from the original to the destination index.
Parameters
RemoveRange(int, int)
Removes a range of elements from the List<T>.
Parameters
indexintThe zero-based starting index of the range of elements to remove.
countintThe number of elements to remove.
Exceptions
- Argument
Out OfRange Exception indexis less than 0.-or-countis less than 0.- Argument
Exception indexandcountdo not denote a valid range of elements in the List<T>.