Table of Contents

Namespace Cuemon.Extensions.Collections.Generic

Assembly: Cuemon.Extensions.Collections.Generic.dll

The Cuemon.Extensions.Collections.Generic namespace contains extension methods that complements the Cuemon.Collections.Generic namespace while being an addition to the System.Collections.Generic namespace.

Availability: .NET 9, .NET 8 and .NET Standard 2.0

Complements: Cuemon.Collections.Generic namespace 📘

Extension Methods

Type Ext Methods
ICollection{T} ⬇️ ToPartitioner{T}, AddRange{T}
IDictionary{TKey, TValue} ⬇️ CopyTo{TKey, TValue}, GetValueOrDefault{TKey, TValue}, TryGetValueOrFallback{TKey, TValue}, ToEnumerable{TKey, TValue}, TryAdd{TKey, TValue}, AddOrUpdate{TKey, TValue}
IEnumerable{T} ⬇️ Chunk{T}, Shuffle{T}, OrderAscending{T}, OrderDescending{T}, RandomOrDefault{T}, Yield{T}, ToDictionary{TKey, TValue}, ToPagination{T}, ToPaginationList{T}
IList{T} ⬇️ Remove{T}, HasIndex{T}, Next{T}, Previous{T}, TryAdd{T}
Queue{T} ⬇️ TryPeek{T}

Classes

CollectionExtensions

Extension methods for the ICollection<T> interface.

DictionaryExtensions

Extension methods for the IDictionary<TKey,TValue> interface.

EnumerableExtensions

Extension methods for the IEnumerable<T> interface.

ListExtensions

Extension methods for the IList<T> interface.