Constructor ValueList
ValueList(params ReadOnlySpan<T>)
Initializes a new instance of the ValueList<T> struct by copying the specified span.
Declaration
public ValueList(params ReadOnlySpan<T> items)
Parameters
| Type | Name | Description |
|---|---|---|
| ReadOnlySpan<T> | items | The items to copy. |
ValueList(ImmutableArray<T>)
Initializes a new instance of the ValueList<T> struct with the specified immutable array.
Declaration
public ValueList(ImmutableArray<T> items)
Parameters
| Type | Name | Description |
|---|---|---|
| ImmutableArray<T> | items | The immutable array of items. |
ValueList(IEnumerable<T>)
Initializes a new instance of the ValueList<T> struct with the items from the specified sequence.
Declaration
public ValueList(IEnumerable<T> items)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | items | The items. |