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