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

static void AddArray<T>(this List<T>, T&#91])

static void AddArray<T>(this List<T>, T&#91], int)

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> = default)

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&#91] GetInternalArray<T>(this List<T>)

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> = default)

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&#91] ToArray<I, O>(this IList<I>, Func<I, O>)

Clone this wiki locally