IAsyncQueryable.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
  2. using System.Collections.Generic;
  3. using System.Linq.Expressions;
  4. namespace System.Linq
  5. {
  6. /// <summary>
  7. /// Asynchronous enumerable sequence represented by an expression tree.
  8. /// </summary>
  9. public interface IAsyncQueryable
  10. {
  11. /// <summary>
  12. /// Gets the type of the elements in the sequence.
  13. /// </summary>
  14. Type ElementType { get; }
  15. /// <summary>
  16. /// Gets the expression representing the sequence.
  17. /// </summary>
  18. Expression Expression { get; }
  19. /// <summary>
  20. /// Gets the query provider used to execute the sequence.
  21. /// </summary>
  22. IAsyncQueryProvider Provider { get; }
  23. }
  24. /// <summary>
  25. /// Asynchronous enumerable sequence represented by an expression tree.
  26. /// </summary>
  27. /// <typeparam name="T">The type of the elements in the sequence.</typeparam>
  28. public interface IAsyncQueryable<out T> : IAsyncEnumerable<T>, IAsyncQueryable
  29. {
  30. }
  31. }