FastEnum
Enums.NET
FastEnum | Enums.NET | |
---|---|---|
1 | 4 | |
305 | 1,650 | |
- | - | |
5.9 | 3.4 | |
almost 2 years ago | 1 day ago | |
C# | C# | |
MIT License | MIT License |
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.
FastEnum
-
EnumValue<TEnum> and EnumValueCaseIgnored<TEnum> (Open.Text v3.2.3)
I don't expect to beat the performance of https://github.com/xin9le/FastEnum . But I expect to be far from the worst.
Enums.NET
- Need to replicate IntelliSense behavior for enums but using strings for keys
-
What is it about C# that you do NOT like compared to other languages?
If you deal with Enums regularly, Enum.NET is a must have: https://github.com/TylerBrinkley/Enums.NET.
-
How to store string alongside value in discriminated union?
I guess you use a reflection-based library / nuget package to read those attributes. You can still do this in F#. The equivalent declaration and how to read it back using [Enums.Net](https://www.nuget.org/packages/Enums.NET/) would be:
What are some alternatives?
.NEXT - Next generation API for .NET
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
Open.Text - A set of useful extensions for working with strings, string-segments, spans, enums, and value formatting.
CsvHelper - Library to help reading and writing CSV files
dotNext - Next generation API for .NET
SmartEnum - A base class for quickly and easily creating strongly typed enum replacements in C#.
Jint - Javascript Interpreter for .NET
Mediator.Net - A simple mediator for .Net for sending command, publishing event and request response with pipelines supported
Aeron.NET - Efficient reliable UDP unicast, UDP multicast, and IPC message transport - .NET port of Aeron
Humanizer - Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Guard - A high-performance, extensible argument validation library.
ENet-CSharp - Reliable UDP networking library