JGP.CharacterCount.Services
1.0.3
dotnet add package JGP.CharacterCount.Services --version 1.0.3
NuGet\Install-Package JGP.CharacterCount.Services -Version 1.0.3
<PackageReference Include="JGP.CharacterCount.Services" Version="1.0.3" />
paket add JGP.CharacterCount.Services --version 1.0.3
#r "nuget: JGP.CharacterCount.Services, 1.0.3"
// Install JGP.CharacterCount.Services as a Cake Addin #addin nuget:?package=JGP.CharacterCount.Services&version=1.0.3 // Install JGP.CharacterCount.Services as a Cake Tool #tool nuget:?package=JGP.CharacterCount.Services&version=1.0.3
JGP.CharacterCount
It... Counts Characters?
Able to count: [] Spaces [] Characters [] Unique Characters [] Words [] Unique Words [] Sentences [] Paragraphs [] Word Densities with Counts and Percentages
Example usage:
public SomeClass PerformSomeAction(SomeClass someClass)
{
ICharacterCountService service = new CharacterCountService();
var model = service.Count(someClass.Text);
// Do stuff.
}
I built this to use for a page on my website. It works well so I made it public.. Crack on.
Easy to use in MVC or similar.
The algorithm used to calculate density percentages is not NASA-Engineer grade. But it's good enough for me. Feel free to contribute to the project, or let me know if you've used this and it's been useful.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- JGP.CharacterCount.Core (>= 1.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.