Summary
A list like struct optimized for holding zero or one items.
- Namespace
- Avalonia
.Utilities - Base Types
-
- object
- ValueType
graph BT
Type-->Base0["ValueType"]
Base0-->Base1["object"]
Type["ValueSingleOrList<T>"]
class Type type-node
Syntax
public ref struct ValueSingleOrList<T> : ValueType
Remarks
Once more than value has been added to this storage it will switch to using
List
internally.
Type Parameters
Name | Description |
---|---|
T | The type of items held in the list. |