[]
Load the items between the specified indexes.
public static Task LoadAsync<T>(this IDataCollection<T> dataCollection, int? fromIndex = null, int? toIndex = null, CancellationToken cancellationToken = default) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| int? | fromIndex | The starting index, if not specified this will be 0. |
| int? | toIndex | The starting index, if not specified this will be Count. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |