Skip to content
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

Use enum for SignalRTriggerAttribute.Category #169

Open
Arithmomaniac opened this issue Feb 24, 2021 · 0 comments
Open

Use enum for SignalRTriggerAttribute.Category #169

Arithmomaniac opened this issue Feb 24, 2021 · 0 comments

Comments

@Arithmomaniac
Copy link

/// <summary>
/// Two optional value: connections and messages
/// </summary>
[AutoResolve]
public string Category { get; }

If you're limited to a fixed set of options, it'd be nice to use an enum to specify instead of having to put in magic strings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant