Table of Contents

Method Create

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

Create(ReadOnlySpan<T>)

Creates an ImmutableValueArray<T> from a span of values. Used by collection expressions.

[SuppressMessage("Design", "CA1000", Justification = "Required for CollectionBuilder attribute.")]
public static ImmutableValueArray<T> Create(ReadOnlySpan<T> values)

Parameters

values ReadOnlySpan<T>

The values to include in the array.

Returns

ImmutableValueArray<T>

An ImmutableValueArray<T> containing the specified values.