Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

27 lines
1.4 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
using Cpp2IlInjected;
namespace System.Linq
{
/// <summary>Represents a sorted sequence.</summary>
/// <typeparam name="TElement">The type of the elements of the sequence.</typeparam>
// Token: 0x02000040 RID: 64
[Token(Token = "0x2000040")]
public interface IOrderedEnumerable<TElement> : IEnumerable<TElement>, IEnumerable
{
/// <summary>Performs a subsequent ordering on the elements of an <see cref="T:System.Linq.IOrderedEnumerable`1" /> according to a key.</summary>
/// <param name="keySelector">The <see cref="T:System.Func`2" /> used to extract the key for each element.</param>
/// <param name="comparer">The <see cref="T:System.Collections.Generic.IComparer`1" /> used to compare keys for placement in the returned sequence.</param>
/// <param name="descending">
/// <see langword="true" /> to sort the elements in descending order; <see langword="false" /> to sort the elements in ascending order.</param>
/// <typeparam name="TKey">The type of the key produced by <paramref name="keySelector" />.</typeparam>
/// <returns>An <see cref="T:System.Linq.IOrderedEnumerable`1" /> whose elements are sorted according to a key.</returns>
// Token: 0x0600021A RID: 538
[Token(Token = "0x600021A")]
[Address(Slot = "0")]
IOrderedEnumerable<TElement> CreateOrderedEnumerable<TKey>(Func<TElement, TKey> keySelector, IComparer<TKey> comparer, bool descending);
}
}