[]
Replaces the items at the specified index by the specified items.
public static Task ReplaceRangeAsync<T>(this IDataCollection<T> dataCollection, int startingIndex, IEnumerable<T> items, CancellationToken cancellationToken = default) where T : class?
Type | Name | Description |
---|---|---|
IDataCollection<T> | dataCollection | The data collection. |
int | startingIndex | The index. |
IEnumerable<T> | items | The items. |
CancellationToken | cancellationToken | The cancellation token. |
Type | Description |
---|---|
Task |
Name | Description |
---|---|
T |