Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

System.Collections.Generic.ListExtensions

Morten Aune Lyrstad edited this page Apr 16, 2022 · 51 revisions

IndexNamespace Index

ListExtensions Class

public abstract sealed class ListExtensions

Namespace: System.Collections.Generic
Assembly: VRage.Library.dll

Methods

Member Description
[static void AddArray<T>(this List<T>, T[])](System.Collections.Generic.ListExtensions.AddArray)
[static void AddArray<T>(this List<T>, T[], int)](System.Collections.Generic.ListExtensions.AddArray)
static void AddHashsetCasting<T1, T2>(this List<T1>, HashSet<T2>)
static void AddList<T>(this List<T>, List<T>)
static void AddOrInsert<T>(this List<T>, T, int)
static void AssertEmpty<T>(this List<T>)
static T AtMod<T>(this List<T>, int)
static T AtMod<T>(this ListReader<T>, int)
[static int BinaryIntervalSearch<T>(this IList<T>, T, [IComparer<T>])](System.Collections.Generic.ListExtensions.BinaryIntervalSearch)
static int BinaryIntervalSearch<T>(this IList<T>, Func<T, bool>)
static int BinaryIntervalSearch<T>(this IList<T>, T, Comparison<T>)
static void ClearAndTrim<T>(this List<T>, int)
static void EnsureCapacity<T>(this List<T>, int)
static ClearToken<T> GetClearToken<T>(this List<T>)
[static T[] GetInternalArray<T>(this List<T>)](System.Collections.Generic.ListExtensions.GetInternalArray) Obsolete: Due to changes required for XBOX this method is obsolete. Do not use it, as now it simply does list.ToArray
static void InsertInOrder<T>(this List<T>, T, IComparer<T>)
static void InsertInOrder<T>(this List<T>, T)
static bool IsSorted<T>(this List<T>, IComparer<T>)
static bool IsValidIndex<T>(this List<T>, int)
static T MaxBy<T>(this IEnumerable<T>, Func<T, float>)
[static TItem MaxBy<TItem, TKey>(this IEnumerable<TItem>, Func<TItem, TKey>, [IComparer<TKey>])](System.Collections.Generic.ListExtensions.MaxBy)
static T MinBy<T>(this IEnumerable<T>, Func<T, float>)
static void Move<T>(this List<T>, int, int)
static TValue Pop<TValue>(this List<TValue>)
static void RemoveAtFast<T>(this List<T>, int)
static void RemoveAtFast<T>(this IList<T>, int)
static void RemoveIndices<T>(this List<T>, List<int>)
static void SortNoAlloc<T>(this List<T>, Comparison<T>)
static void Swap<T>(this List<T>, int, int)
[static O[] ToArray<I, O>(this IList<I>, Func<I, O>)](System.Collections.Generic.ListExtensions.ToArray)
Clone this wiki locally