You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 rivejä
607 B

  1. namespace Services
  2. {
  3. public sealed class InfiniteScrollingItemsProviderRequest
  4. {
  5. public InfiniteScrollingItemsProviderRequest(int startIndex, int page, CancellationToken cancellationToken)
  6. {
  7. StartIndex = startIndex;
  8. CancellationToken = cancellationToken;
  9. Page = page;
  10. }
  11. public int StartIndex { get; }
  12. public CancellationToken CancellationToken { get; }
  13. public int Page { get; }
  14. }
  15. public delegate Task<IEnumerable<T>> ItemsProviderRequestDelegate<T>(InfiniteScrollingItemsProviderRequest request);
  16. }