Перейти к основному содержимому

Namespace Aspid.FastTools.Enums

Classes​

EnumValues<TValue>

A serializable dictionary that maps each member of a chosen enum to a value of type TValue. Supports both regular and [Flags] enums.

EnumValues<TEnum, TValue>

A serializable dictionary that maps members of TEnum to values of type TValue. The typed counterpart of EnumValues<T> for the common case where the enum type is known at compile time — the Inspector type-picker is read-only, and lookups are compile-time safe.

Structs​

EnumValuesEnumerator<TKey, TValue>

Allocation-free enumerator over the resolved entries of an EnumValues<T> (TKey = Enum) or an EnumValues<T1, T2> (TKey = the enum type). Boxed only when consumed through the IEnumerable<T> interface (e.g. LINQ).

Содержание