throw
SmartAnnotations
throw | SmartAnnotations | |
---|---|---|
1 | 3 | |
1,181 | 47 | |
- | - | |
2.7 | 5.3 | |
8 months ago | about 3 years 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.
throw
SmartAnnotations
-
Displaying Enums with custom value
You can use annotations, more specifically the Display attribute, e.g., `[Display(Name = "Junior Developer")]. I'm working on source generators for annotations, you can find it here
- Source generator for data annotations.
What are some alternatives?
GuardClauses - A simple package with guard clause extensions.
SmartEnum - A base class for quickly and easily creating strongly typed enum replacements in C#.
assertnever - Syntactical sugar for assert never
Guard - A high-performance, extensible argument validation library.
oops - 🔥 Error handling library with context, assertion, stack trace and source fragments
Nullable - A source code only package which allows you to use .NET's nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.
Fluxera.Guards - An extendable guard implementation.
ZeroIoC - ZeroIoC is reflectionless IoC Container for C#
Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
validatum - An open-source library for building fluent validation functions for .NET.
WrapperValueObject - A .NET source generator for creating simple value objects wrapping primitive types.