Method Create
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
Create<T>(ReadOnlySpan<T>)
Creates an ImmutableValueArray<T> from a span of values. Used by collection expressions.
public static ImmutableValueArray<T> Create<T>(ReadOnlySpan<T> values)
Parameters
valuesReadOnlySpan<T>The values to include in the array.
Returns
- ImmutableValueArray<T>
An ImmutableValueArray<T> containing the specified values.
Type Parameters
TThe type of elements in the array.