IAsyncQueryable.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the Apache 2.0 License.
  3. // See the LICENSE file in the project root for more information.
  4. using System.Collections.Generic;
  5. using System.Linq.Expressions;
  6. namespace System.Linq
  7. {
  8. /// <summary>
  9. /// Asynchronous enumerable sequence represented by an expression tree.
  10. /// </summary>
  11. public interface IAsyncQueryable
  12. {
  13. /// <summary>
  14. /// Gets the type of the elements in the sequence.
  15. /// </summary>
  16. Type ElementType { get; }
  17. /// <summary>
  18. /// Gets the expression representing the sequence.
  19. /// </summary>
  20. Expression Expression { get; }
  21. /// <summary>
  22. /// Gets the query provider used to execute the sequence.
  23. /// </summary>
  24. IAsyncQueryProvider Provider { get; }
  25. }
  26. /// <summary>
  27. /// Asynchronous enumerable sequence represented by an expression tree.
  28. /// </summary>
  29. /// <typeparam name="T">The type of the elements in the sequence.</typeparam>
  30. public interface IAsyncQueryable<out T> : IAsyncEnumerable<T>, IAsyncQueryable
  31. {
  32. }
  33. }