3 مستودعات
Tools that automatically produce C# source files to eliminate boilerplate code.
Distinct from C# Code Generators: Existing candidates are for C or C++ headers; this is specifically for generating C# boilerplate and accessors.
Explore 3 awesome GitHub repositories matching development tools & productivity · C# Source Code Generators. Refine with filters or upvote what's useful.
Entitas is a data-oriented Entity Component System framework for Unity. It is designed to separate game state into components and logic into systems, utilizing a data-oriented design to optimize CPU cache usage, memory usage, and processing speed. The framework includes a C# source code generator that automatically produces boilerplate classes, entity accessors, and context singletons to reduce manual coding. It also provides a Unity editor debugging tool for real-time runtime state visualization, system performance monitoring, and visual entity inspection. The system manages entity lifecycl
Automatically generates boilerplate classes, entity accessors, and context singletons to reduce manual coding.
Mapperly is a C# source generator used for high-performance object-to-object mapping in .NET. It functions as a compile-time mapping library that produces the necessary transformation code during the build process, eliminating the need for runtime reflection when converting between domain models and data transfer objects. The tool distinguishes itself by providing type-safe diagnostic validation and strict mapping enforcement, emitting warnings for unmapped properties at compile time. It includes specialized capabilities for circular reference handling and deep cloning to maintain object iden
Uses C# source generators to automate the production of mapping code during the build process.
OneOf is a C# discriminated union library and source generator that provides functional sum types. It serves as a strongly typed polymorphism tool, allowing developers to define method parameters and return values that can be exactly one of several specific types. The project implements functional programming patterns to replace generic base classes with type-safe unions. It utilizes a source generator to automatically produce the boilerplate code required to manage these union type hierarchies during compilation. The library provides mechanisms for pattern matching and union value extractio
Utilizes C# source generators to automatically produce the class hierarchies and metadata required for union types.