Interface IExtendedList<T>
- Namespace
- Dynamic
Data
- Assembly
- DynamicData.dll
Represents a list which supports range operations.
Type Parameters
T
The 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
collection
IEnumerable<T>The items to add.
Exceptions
- Argument
Null Exception collection
is null.
InsertRange(IEnumerable<T>, int)
Inserts the elements of a collection into the List<T> at the specified index.
Parameters
collection
IEnumerable<T>The items to insert.
index
intThe zero-based index at which the new elements should be inserted.
Exceptions
- Argument
Null Exception collection
is null.- Argument
Out OfRange Exception index
is less than 0.-or-index
is 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
index
intThe zero-based starting index of the range of elements to remove.
count
intThe number of elements to remove.
Exceptions
- Argument
Out OfRange Exception index
is less than 0.-or-count
is less than 0.- Argument
Exception index
andcount
do not denote a valid range of elements in the List<T>.