EnumWrapper Struct

Definition

A wrapper around an enum that provides parsing.

public readonly record struct EnumWrapper<TEnum>(TEnum Value) : ISpanParsable<EnumWrapper<TEnum>>, IParsable<EnumWrapper<TEnum>>, IEquatable<EnumWrapper<TEnum>> where TEnum : struct, Enum

Type parameters

TEnum
The type of the enum to be wrapper.
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)

Properties (2)

Methods (4)

Operators (2)