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)
Apparatus.AOT.Reflection
Reflectionless reflection (by byme8)
Enum.Source.Generator | Apparatus.AOT.Reflection | |
---|---|---|
1 | 5 | |
165 | 48 | |
- | - | |
6.9 | 0.0 | |
9 days ago | over 1 year 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.
Apparatus.AOT.Reflection
Posts with mentions or reviews of Apparatus.AOT.Reflection.
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
-
How to Get Enum Member Name with the Related Int Value
If you dig deeper you will find out that it is a really slow way to do it. Right now, there is no easy and fast way to get a name, value, or enum value attributes in dotnet. You can't do it efficiently only with 3-party libraries. For example, the AOT.Reflection(to be clear I am the author of the library) does what you want and does it efficiently.
-
Improving C# with TypeScript. KeyOf<T>
From the article: https://github.com/byme8/Apparatus.AOT.Reflection
-
Improving C# with TypeScript. KeyOf<T>
Github, Nuget
-
AOT.Reflection
The complete source code of benchmarks you can find here.
What are some alternatives?
When comparing Enum.Source.Generator and Apparatus.AOT.Reflection you can also consider the following projects:
M31.FluentAPI - Generate fluent APIs for your C# classes with ease.
roslyn-sdk - Roslyn-SDK templates and Syntax Visualizer
CodegenCS - C# Toolkit for Code Generation (T4 alternative!)
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.