Table of Contents

Class ArrayCollectionBuilder

Namespace
Backdash.Data
Assembly
Backdash.dll

Initialization methods for instances of EquatableArray<T>.

public static class ArrayCollectionBuilder
Inheritance
ArrayCollectionBuilder
Inherited Members

Methods

Create<T>(ReadOnlySpan<T>)

Produce an EquatableArray<T> of contents from specified elements.

public static EquatableArray<T> Create<T>(ReadOnlySpan<T> items) where T : IEquatable<T>

Parameters

items ReadOnlySpan<T>

The elements to store in the array.

Returns

EquatableArray<T>

An array containing the specified items.

Type Parameters

T

The type of element in the array.