Use the AnyOf<TFirst, TSecond, ...> type to handle multiple defined types as input parameters or return values for methods.
☆122Jun 13, 2025Updated last year
Alternatives and similar repositories for AnyOf
Users that are interested in AnyOf are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Actual C# Enums with values and better performance as a source generator☆48Mar 21, 2024Updated 2 years ago
- A complete Domain-Driven Design (DDD) toolset for implementing domain models, including base types and source generators.☆77Jun 15, 2026Updated 4 months ago
- ☆31Jun 28, 2021Updated 5 years ago
- Immutability is easy!☆54May 8, 2026Updated 5 months ago
- Fight primitive obsession and create expressive domain models with source generators.☆18Jan 6, 2024Updated 2 years ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- A project which uses Source Generation to create a FluentBuilder for a specified model or DTO☆207Oct 31, 2026Updated last week
- A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.☆2,416Sep 2, 2026Updated 2 months ago
- Generate fluent builders for your C# classes with ease.☆141Apr 21, 2026Updated 6 months ago
- A demo example demonstraing a few useful practices when working with source generators☆22Feb 25, 2021Updated 5 years ago
- C# discriminated union source generator☆888Oct 14, 2026Updated 3 weeks ago
- A source generator to generate compile-time mapping of enums and description attributes☆24Aug 2, 2022Updated 4 years ago
- A source generator that merges the content of other classes into one class. A simple workaround for struct inheritance or multiple inheri…☆15May 26, 2026Updated 5 months ago
- ValueObjectGenerator is Generator for ValueObjects.☆40Nov 30, 2020Updated 5 years ago
- 💪🏾 A strongly-typed domain values source-generator☆44May 17, 2024Updated 2 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- A C# source generator to create an enumeration class from an enum type. With this package, you can work on enums very, very fast without …☆199Apr 1, 2025Updated last year
- A source code generator for automatically implementing IEquatable<T> using only attributes.☆193Oct 19, 2026Updated 2 weeks ago
- A library for .NET that uses source generators to automatically generate data annotations for your models.☆58Apr 12, 2021Updated 5 years ago
- BigMachines is State Machine library for .NET☆45Oct 6, 2026Updated last month
- Use the .NET types DateOnly and TimeOnly with the EF Core 6 and 7 SQL Server provider☆43Jul 20, 2026Updated 3 months ago
- LinqCube is a small utility library to define measures and dimensions in code an do in-memory cubes against LINQ queries.☆11Jul 24, 2026Updated 3 months ago
- The ultimate fast alternative to Activator.CreateInstance<T> / new T()☆280Aug 25, 2026Updated 2 months ago
- Allows using C# source generators using a fluent, type safe interface rather than string templating.☆26May 5, 2026Updated 6 months ago
- Type Generator: No framework. No magic. Just code. 100% debuggable.☆20Oct 27, 2026Updated last week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- A lightweight utility library to create a Roslyn AdhocWorkspace from an existing solution or a csproj☆78Jan 13, 2026Updated 9 months ago
- Utilities for working with streams and pipes☆12Oct 25, 2026Updated last week
- This is a Visual Studio C# source generator for automatically generating enum extension methods that implement a switch expression based …☆33Mar 28, 2022Updated 4 years ago
- .NET Standard and Portable Class Library implementations of Mustache logic-less templates☆11May 6, 2026Updated 6 months ago
- C# Source Generator based dependency injection container implementation.☆1,254Sep 12, 2025Updated last year
- A trait engine for C#.☆14May 1, 2025Updated last year
- A C# source generator to create an enumeration class from an enum type.☆18Aug 19, 2022Updated 4 years ago
- Text templating is used to dynamically render contents based on a template and a model.☆11Jul 20, 2026Updated 3 months ago
- How to eliminate injecting ILogger everywhere in .NET☆13Oct 22, 2022Updated 4 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- A source generator for C# that uses Roslyn to create extensions and parsers for enumerations☆18Oct 28, 2026Updated last week
- Update an entity graph in store to a given one by inserting, updating and removing the respective entities.☆32May 17, 2024Updated 2 years ago
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects☆1,513Oct 26, 2026Updated last week
- A collection of Roslyn analyzers and source generators empowering daily development☆15Jun 29, 2024Updated 2 years ago
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.☆533Oct 27, 2026Updated last week
- Analyzer that checks references from code to different namespaces in .NET, based on your own rules☆20Sep 4, 2022Updated 4 years ago
- Source Generator for dumping the git branch information, commit hash, and if the working tree is dirty or clean on projects that install …☆41Apr 7, 2022Updated 4 years ago