AutoConstructor
Constructor generator
A C# source generator that creates constructors from readonly fields/properties in classes or structs.
C# source generator that generates a constructor from readonly fields/properties in a class or struct
49 stars
3 watching
4 forks
Language: C#
last commit: 20 days ago
Linked from 1 awesome list
constructorcsharpcsharp-sourcegeneratordotnetroslynsource-generator
Related projects:
Repository | Description | Stars |
---|---|---|
chaowlert/primaryconstructor | Generates code to create primary constructors from readonly fields and properties in C# | 105 |
flavien/quickconstructor | Automatically generates constructors from class fields and properties. | 26 |
distantcam/autoctor | Automatically generates constructors and associated code for managing dependencies in C# classes | 84 |
ycanardeau/resxgenerator | A C# source generator to create strongly-typed resource classes for localized strings | 32 |
codecentric/net_automatic_interface | Automatically generates interfaces from classes to reduce friction and noise in code | 61 |
thenameless314159/sourcegeneratorutils | Provides utility classes and abstractions to simplify source generation tasks in .NET source generators | 21 |
krasin-ga/matryoshki | A framework for creating type-agnostic decorators and adapters using C# source generators | 28 |
lokimidgard/sourcegenerator.helper.copycode | Generates source code strings for attribute definitions in C#. | 7 |
jakubsturc/talk-csharp-source-generators | A presentation about C# Source Generators, covering their purpose and functionality in generating code at compile-time. | 3 |
cloud0259/controllergenerator | Automates the creation of controllers from specified services in .NET projects using source generator technology | 8 |
ufcpp/memberaccessgenerator | A source generator that creates C# code to implement member accessors with name-based and index-based access. | 7 |
rudolfkurkams/structpacker | A binary serializer that generates optimized C# serialization code using Source Generators technology | 76 |
engrajabi/enum.source.generator | A C# source generator that creates an enumeration class from an enum type without using reflection. | 180 |
ne4to/n.sourcegenerators.uniontypes | A C# source generator that automates the creation of discriminated union types with helper methods. | 10 |
davidwengier/sourcegeneratortemplate | Provides a basic template and tools to generate C# source code programmatically | 181 |