'Declaration
Public Shared Function AddRangeAsync(Of T As Class)( _ ByVal dataCollection As IDataCollection(Of T), _ ByVal items As IReadOnlyList(Of T), _ Optional ByVal cancellationToken As CancellationToken _ ) As Task(Of Integer)
public static Task<int> AddRangeAsync<T>( IDataCollection<T> dataCollection, IReadOnlyList<T> items, CancellationToken cancellationToken ) where T: class
Parameters
- dataCollection
- The data collection.
- items
- The items to be added.
- cancellationToken
- The cancellation token.
Type Parameters
- T