Table of Contents

Method Create

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

Create<T>(ReadOnlySpan<T>)

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

public static ImmutableValueSet<T> Create<T>(ReadOnlySpan<T> values)

Parameters

values ReadOnlySpan<T>

The values to include in the set.

Returns

ImmutableValueSet<T>

An ImmutableValueSet<T> containing the specified values.

Type Parameters

T

The type of elements in the set.