15 packages tagged with “smart-enum”
Provides an easy way to implement Smart Enums, Value Objects and Discriminated Unions.
Source generators for Thinktecture.Runtime.Extensions.
Adds JSON support to components from Thinktecture.Runtime.Extensions when using System.Text.Json.
Adds ASP.NET Core support to components from Thinktecture.Runtime.Extensions.
Adds better JSON support to components from Thinktecture.Runtime.Extensions when using Newtonsoft.Json.
Extends Entity Framework Core to support some components from Thinktecture.Runtime.Extensions.
Adds MessagePack formatter for components from Thinktecture.Runtime.Extensions.
Adds OpenAPI support to components from Thinktecture.Runtime.Extensions.
A strongly-typed smart enumeration base class with value-code pairs, reflection-based discovery, and JSON serialization support
Inspired by kotlin's enum class, this package provides incremental generator that can create classes from enum declaration. All you have to do is to add [EnumClass] attribute to your enum. Features: - Override default ToString - Add specific behaviour (methods) to each member - Polymorphic Switch implementation