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

Question: Humanize() vs Transform() behavior #1555

Open
DrEsteban opened this issue Nov 26, 2024 · 0 comments
Open

Question: Humanize() vs Transform() behavior #1555

DrEsteban opened this issue Nov 26, 2024 · 0 comments

Comments

@DrEsteban
Copy link

At the end of the README, there's a little blurb that I'm confused about:

No need to mention that if you want title casing for your labels you can chain the method with Transform:

modelMetadata.DisplayName = modelMetadata.PropertyName.Humanize().Transform(To.TitleCase);

Why is Humanize() called at all here? Is there something Humanize() does that Transform() wouldn't do? For example, does Transform() not perform the enum attribute behavior or something like that?

Thanks for making such a great library!

@DrEsteban DrEsteban changed the title Question: Question: Humanize() vs Transform() behavior Nov 26, 2024
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