Humanizer
Humanizer copied to clipboard
Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
Here is a checklist you should tick through before submitting a pull request: - [X] Implementation is clean - [X] Code adheres to the existing coding standards; e.g. no curlies...
The best illustration I can provide is the code snippet below: ```csharp using System.Globalization; using Humanizer; Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; Console.WriteLine("i will break stuff".Pascalize()); // IWillBreakStuff Console.WriteLine("I will break stuff".Camelize()); //...
Bumps [Microsoft.NETCore.UniversalWindowsPlatform](https://github.com/Microsoft/dotnet) from 6.2.13 to 6.2.14. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Add date to words converter feature. Support for en, en-US and es language. Here is a checklist you should tick through before submitting a pull request: - [x] Implementation is...
I often do something like `enumValue.Humanize(LetterCasing.Title)`, with the intention being that most enum value names can just be translated directly and don't need a description. I do want them to...
Adding a new method to feel slightly cleaner when testing if an enum can be dehumanized. Addresses https://github.com/Humanizr/Humanizer/issues/769
The To.SentenceCase() transformer will capitalize only the first letter of the string and. Refer [ToSentenceCase.cs](https://github.com/Humanizr/Humanizer/blob/5ff8ea77f95510c53cdc6000c1a701977d5f3f3c/src/Humanizer/Transformer/ToSentenceCase.cs#L9) Consider the following cases : ``` "THIS STRING IS ALL CAPS".Transform(To.SentenceCase); // returns "THIS STRING...
The ByteSize struct uses values such as kilobyte = 1024 byte, whereas the official IEEE 1541 standard dictates that a kilobyte = 1000 bytes, and **kibi**byte = 1024 bytes, and...
Malayalam language (Kerala). I tested in C# its working good. Feature MalayalamNumberToWords Malayalam (Kerala) Language. Update MalayalamNumberToWordsConverter.cs This reverts commit 5a781ed1f83e1e2cb5ae641f8ff5c86134d4b933. Here is a checklist you should tick through before...
I have the method bellow: ```csharp private List GetinputOptions(T input) where T : struct, Enum { var result = new List(); var values = Enum.GetValues(typeof(T)).Cast(); Func defaultEvaluator; if (Attribute.IsDefined(typeof(T), typeof(FlagsAttribute)))...