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 8, .NET 7, .NET 6 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 System.Collections.Generic.ICollection<T> interface.

DictionaryExtensions

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

EnumerableExtensions

Extension methods for the System.Collections.Generic.IEnumerable<T> interface.

ListExtensions

Extension methods for the System.Collections.Generic.IList<T> interface.