| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This library uses Roslyn Source Generators, Analyzers, CodeFixes, and Refactorings to provide Smart Enums (type-safe alternatives to enum), Value Objects (immutable domain primitives with built-in validation), and Discriminated Unions (type-safe "one of" types).
Smart Enums -- Type-safe enumerations with behavior, supporting keyed (with an underlying value) and keyless variants.
Value Objects -- Immutable domain primitives (simple single-value or complex multi-property) with built-in validation and factory methods.
Discriminated Unions -- Type-safe unions including ad-hoc unions (Union<T1, T2, ...>) and regular inheritance-based unions, with Switch/Map pattern matching.
| Back | FazBrowse Home | New Git URL |