Class ImmutableEquatableArray
Provides extension methods for the ImmutableEquatableArray<T> type.
public static class ImmutableEquatableArray
- Inheritance
-
ImmutableEquatableArray
- Inherited Members
Methods
Create<T>(ReadOnlySpan<T>)
Creates an ImmutableEquatableArray<T> instance from the specified values.
public static ImmutableEquatableArray<T> Create<T>(ReadOnlySpan<T> values)
Parameters
valuesReadOnlySpan<T>The source span from which to populate the array.
Returns
- ImmutableEquatableArray<T>
A new ImmutableEquatableArray<T> instance.
Type Parameters
TThe element type for the array.
ToImmutableEquatableArray<T>(IEnumerable<T>)
Creates an ImmutableEquatableArray<T> instance from the specified values.
public static ImmutableEquatableArray<T> ToImmutableEquatableArray<T>(this IEnumerable<T> values)
Parameters
valuesIEnumerable<T>The source enumerable from which to populate the array.
Returns
- ImmutableEquatableArray<T>
A new ImmutableEquatableArray<T> instance.
Type Parameters
TThe element type for the array.