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

GitHub

52 stars
3 watching
4 forks
Language: C#
last commit: almost 2 years ago
Linked from 1 awesome list

constructorcsharpcsharp-sourcegeneratordotnetroslynsource-generator

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
chaowlert/primaryconstructorGenerates code to create primary constructors from readonly fields and properties in C#106
flavien/quickconstructorAutomatically generates constructors from class fields and properties.26
distantcam/autoctorAutomatically generates constructors and associated code for managing dependencies in C# classes85
ycanardeau/resxgeneratorA C# source generator to create strongly-typed resource classes for localized strings31
codecentric/net_automatic_interfaceAutomatically generates interfaces from classes to reduce friction and noise in code63
thenameless314159/sourcegeneratorutilsProvides utility classes and abstractions to simplify source generation tasks in .NET source generators21
krasin-ga/matryoshkiA framework for creating type-agnostic decorators and adapters using C# source generators29
lokimidgard/sourcegenerator.helper.copycodeGenerates source code strings for attribute definitions in C#.7
jakubsturc/talk-csharp-source-generatorsA presentation about C# Source Generators, covering their purpose and functionality in generating code at compile-time.3
cloud0259/controllergeneratorAutomates the creation of controllers from specified services in .NET projects using source generator technology8
ufcpp/memberaccessgeneratorA source generator that creates C# code to implement member accessors with name-based and index-based access.7
rudolfkurkams/structpackerA binary serializer that generates optimized C# serialization code using Source Generators technology77
engrajabi/enum.source.generatorA C# source generator that creates an enumeration class from an enum type without using reflection.181
ne4to/n.sourcegenerators.uniontypesA C# source generator that automates the creation of discriminated union types with helper methods.10
davidwengier/sourcegeneratortemplateProvides a basic template and tools to generate C# source code programmatically182