Namespace Virtufin.Data
Namespaces
Classes
- Variant
One value of a fixed set of kinds (IVariant), or none. A C# 15 union (UnionAttribute): each kind is a case with its own constructor and
TryGetValue, so aswitchover a variant is checked for every kind (int i => …, string s => …, null => …), and none isnull. Primitives are kept unboxed (_scalar), so creating or matching one allocates nothing; only Value boxes.