Class CollectionExtensions
Provides extension methods for collections.
Namespace: Singulink.Collections
Assembly: Singulink.Collections.dll
Syntax
public static class CollectionExtensions
Methods
| Name | Description |
|---|---|
| ToComparerEquatableArray<T>(IEnumerable<T>, IEqualityComparer<T>?) | Returns an instance of the ComparerEquatableArray<T> class from the given collection with the specified comparer. |
| ToComparerEquatableArray<T>(ImmutableArray<T>, IEqualityComparer<T>?) | Returns an instance of the ComparerEquatableArray<T> class from the given collection with the specified comparer. |
| ToComparerEquatableArray<T>(ReadOnlySpan<T>, IEqualityComparer<T>?) | Returns an instance of the ComparerEquatableArray<T> class from the given collection with the specified comparer. |
| ToComparerEquatableArray<T>(T[], IEqualityComparer<T>?) | Returns an instance of the ComparerEquatableArray<T> class from the given collection with the specified comparer. |
| ToEquatableArray<T>(IEnumerable<T>) | Returns an instance of the EquatableArray<T> class from the given collection. |
| ToEquatableArray<T>(ImmutableArray<T>) | Returns an instance of the EquatableArray<T> class from the given collection. |
| ToEquatableArray<T>(ReadOnlySpan<T>) | Returns an instance of the EquatableArray<T> class from the given collection. |
| ToEquatableArray<T>(T[]) | Returns an instance of the EquatableArray<T> class from the given collection. |