PrimaryConstructor

Constructor generator

Generates code to create primary constructors from readonly fields and properties in C#

Generate primary constructor from readonly fields

GitHub

106 stars
4 watching
12 forks
Language: C#
last commit: over 2 years ago
Linked from 1 awesome list

csharp-sourcegeneratorprimary-constructor

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
k94ll13nn3/autoconstructorA C# source generator that creates constructors from readonly fields/properties in classes or structs.52
distantcam/autoctorAutomatically generates constructors and associated code for managing dependencies in C# classes85
flavien/quickconstructorAutomatically generates constructors from class fields and properties.26
ycanardeau/resxgeneratorA C# source generator to create strongly-typed resource classes for localized strings31
thenameless314159/sourcegeneratorutilsProvides utility classes and abstractions to simplify source generation tasks in .NET source generators21
ladeak/protobufsourcegeneratorGenerates partial helper classes with serialized properties for C# types used with protobuf-net.12
jakubsturc/talk-csharp-source-generatorsA presentation about C# Source Generators, covering their purpose and functionality in generating code at compile-time.3
sebcglbailey/framer-designcomponentsA module that converts Framer design files into scalable, code-generatable classes and components for building prototypes.31
davidwengier/sourcegeneratortemplateProvides a basic template and tools to generate C# source code programmatically182
lokimidgard/sourcegenerator.helper.copycodeGenerates source code strings for attribute definitions in C#.7
ufcpp/stringliteralgeneratorGenerates optimized UTF-8 binary data from string literals in C# source code136
yeah69/mrmeeseeks.staticdelegategeneratorGenerates code to wrap static references into a delegable interface for easier maintenance and decoupling of dependencies.8
collinalpert/lombok.netA .NET library that uses source generators to automatically create boilerplate code for classes and structs.316
b3b00/cslyA C# library that simplifies the generation of lexers and parsers using compact, type-safe definitions.377
surgicalcoder/jsonpolymorphicgeneratorGenerates partial classes with JSON-derived type attributes based on polymorphic base classes7