PrimaryConstructor

Constructor generator

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

Generate primary constructor from readonly fields

GitHub

105 stars
4 watching
12 forks
Language: C#
last commit: 10 months ago
Linked from 1 awesome list

csharp-sourcegeneratorprimary-constructor

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
k94ll13nn3/autoconstructor A C# source generator that creates constructors from readonly fields/properties in classes or structs. 49
distantcam/autoctor Automatically generates constructors and associated code for managing dependencies in C# classes 84
flavien/quickconstructor Automatically generates constructors from class fields and properties. 26
ycanardeau/resxgenerator A C# source generator to create strongly-typed resource classes for localized strings 32
thenameless314159/sourcegeneratorutils Provides utility classes and abstractions to simplify source generation tasks in .NET source generators 21
ladeak/protobufsourcegenerator Generates partial helper classes with serialized properties for C# types used with protobuf-net. 12
jakubsturc/talk-csharp-source-generators A presentation about C# Source Generators, covering their purpose and functionality in generating code at compile-time. 3
sebcglbailey/framer-designcomponents A module that converts Framer design files into scalable, code-generatable classes and components for building prototypes. 31
davidwengier/sourcegeneratortemplate Provides a basic template and tools to generate C# source code programmatically 181
lokimidgard/sourcegenerator.helper.copycode Generates source code strings for attribute definitions in C#. 7
ufcpp/stringliteralgenerator Generates optimized UTF-8 binary data from string literals in C# source code 135
yeah69/mrmeeseeks.staticdelegategenerator Generates code to wrap static references into a delegable interface for easier maintenance and decoupling of dependencies. 8
collinalpert/lombok.net A .NET library that uses source generators to automatically create boilerplate code for classes and structs. 313
b3b00/csly A C# library that simplifies generating and maintaining lexer/parsers using compact definition syntax 374
surgicalcoder/jsonpolymorphicgenerator Generates partial classes with JSON-derived type attributes based on polymorphic base classes 8