[]
Moves the items specified by fromIndex
and count
to the new toIndex
position.
public static Task MoveRangeAsync<T>(this IDataCollection<T> dataCollection, int fromIndex, int count, int toIndex, CancellationToken cancellationToken = default) where T : class?
Type | Name | Description |
---|---|---|
IDataCollection<T> | dataCollection | The data collection. |
int | fromIndex | From index. |
int | count | The number of items to be moved. |
int | toIndex | To index. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
Task |
Name | Description |
---|---|
T |