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

Let us configure Humanizer to treat acronyms as words #1534

Open
Nefcanto opened this issue Aug 17, 2024 · 0 comments
Open

Let us configure Humanizer to treat acronyms as words #1534

Nefcanto opened this issue Aug 17, 2024 · 0 comments

Comments

@Nefcanto
Copy link

Consider this code:

var text = "SMS parameter provider";
var pascalized = text.Pascalize();
Console.WriteLine(pascalized);

This is what we get:

SMSParameterProvider

While this is valid, it's not aligned with Microsoft.

Let us configure Humanizer to treat acronyms as words for PascalCasing or even camelCasing. We need to get SmsParameterProvider.

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