Method Create
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
Create(ReadOnlySpan<T>)
Creates an ImmutableValueList<T> from a span of values. Used by collection expressions.
[SuppressMessage("Design", "CA1000", Justification = "Required for CollectionBuilder attribute.")]
public static ImmutableValueList<T> Create(ReadOnlySpan<T> values)
Parameters
valuesReadOnlySpan<T>The values to include in the list.
Returns
- ImmutableValueList<T>
An ImmutableValueList<T> containing the specified values.