Enum.Source.Generator
A C# source generator to create an enumeration class from an enum type. With this package, you can work on enums very, very fast without using reflection. (by EngRajabi)
roslyn-sdk
Roslyn-SDK templates and Syntax Visualizer (by dotnet)
Enum.Source.Generator | roslyn-sdk | |
---|---|---|
1 | 7 | |
165 | 492 | |
- | 1.4% | |
6.9 | 7.2 | |
10 days ago | about 23 hours ago | |
C# | C# | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Enum.Source.Generator
Posts with mentions or reviews of Enum.Source.Generator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-03.
roslyn-sdk
Posts with mentions or reviews of roslyn-sdk.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-03.
- Reflection -> Source Generated
-
*ducks*
Here's an example of generating a csv parser that at compile time takes an example csv file, creates a class with properties named after the headers with data types based on whatever data is in the first row. https://github.com/dotnet/roslyn-sdk/blob/main/samples/CSharp/SourceGenerators/SourceGeneratorSamples/CsvGenerator.cs
- Enable Preview Version In Visual Studio 2022
-
How to create a Roslyn Analyser in Jetbrains Rider?
Clone the official repo, branch from that?
-
Genzor, an experimental (code) file/directory generator using the Blazor components model. What do you guys think?
The sample app is currently but working in VS, see https://github.com/dotnet/roslyn-sdk/issues/774.
-
On .NET Episode: C# Source Generators
Source Generator Samples
-
Source generator with dependency
Check the sample project. In particular, note the GeneratePathProperty, GetTargetPathDependsOn and TargetPathWithTargetPlatformMoniker pieces in the csproj file.
What are some alternatives?
When comparing Enum.Source.Generator and roslyn-sdk you can also consider the following projects:
M31.FluentAPI - Generate fluent APIs for your C# classes with ease.
stronginject - compile time dependency injection for .NET
CodegenCS - C# Toolkit for Code Generation (T4 alternative!)
Apparatus.AOT.Reflection - Reflectionless reflection
MsSql.Adapter - Dotnet incremental source generator of service contracts for MSSQL stored procedures
Tortuga.Shipwright - A trait engine for C#.
HttpClientCodeGenerator - HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.