external/rx/Ix/NET/System.Interactive.Async/IOrderedAsyncEnumerable.cs
raw| 1 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. |
| 2 | using System; |
| 3 | using System.Collections.Generic; |
| 4 | |
| 5 | namespace System.Linq |
| 6 | { |
| 7 | public interface IOrderedAsyncEnumerable< |
| 8 | #if !NO_VARIANCE |
| 9 | out |
| 10 | #endif |
| 11 | TElement> : IAsyncEnumerable<TElement> |
| 12 | { |
| 13 | IOrderedAsyncEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending); |
| 14 | } |
| 15 | } |