-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding README for Microsoft.Extensions.EnumStrings #4621
Conversation
To use this feature, you can annotate an enum value with the `EnumStringAttribute` attribute. For example: | ||
|
||
```csharp | ||
using Microsoft.Extensions.EnumStrings; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geeknoid should we consider moving the EnumStrings attribute to the usual System.Runtime.CompilerServices
namespace where we put the rest of the attributes in .NET in favor of a future move of this down to dotnet/runtime?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We certainly can.
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
null
Microsoft Reviewers: Open in CodeFlow