BitHelp.Core.Extend 0.6.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package BitHelp.Core.Extend --version 0.6.0                
NuGet\Install-Package BitHelp.Core.Extend -Version 0.6.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BitHelp.Core.Extend" Version="0.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BitHelp.Core.Extend --version 0.6.0                
#r "nuget: BitHelp.Core.Extend, 0.6.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BitHelp.Core.Extend as a Cake Addin
#addin nuget:?package=BitHelp.Core.Extend&version=0.6.0

// Install BitHelp.Core.Extend as a Cake Tool
#tool nuget:?package=BitHelp.Core.Extend&version=0.6.0                

BitHelp.Core.Extend

Licensed under the MIT License Integration Tests NuGet Nuget codecov Quality Gate Status

This project is a collection of extensions that I use constantly, so put them all in this package.

Getting Started

Installation process

This package is available through Nuget Packages: https://www.nuget.org/packages/BitHelp.Core.Extend

Nuget

Install-Package BitHelp.Core.Extend

.NET CLI

dotnet add package BitHelp.Core.Extend

Latest releases

Release 0.6.0

  • feature: Adding method DoesCultureExist to strings
  • feature: Adding method NonCultureExist to strings

To read about others releases access RELEASES.md

Build and Test

Using Visual Studio Code, you can build and test the project from the terminal.

Build and restore the project

dotnet restore
dotnet build --no-restore

Tests

dotnet test --no-build --verbosity normal

Report Generator

Coverlet is used as a package in the test project, to generate the test coverage file. But to generate a report, the Report Generator must be installed on the computer, in this case in global scope. In this project I am using version 4.8.6.

dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.8.6

Coverage

To generate the test report, run the command below:

rm -rf ./coverage ./test/bin ./src/bin
dotnet restore
dotnet build --no-restore
dotnet test --no-build --verbosity=normal --collect:"XPlat Code Coverage" --results-directory ./coverage
reportgenerator "-reports:coverage/**/coverage.cobertura.xml" "-targetdir:coverage/report" -reporttypes:Html

Upon execution, the command will generate a test report in the ./coverage/report.

so I don't have to run each command for each test that wants to generate the report, I created a ./buildReport.sh to make it easier, so just run the shell script below:

./buildReport.sh
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BitHelp.Core.Extend:

Package Downloads
BitHelp.Core.Validation

Project for data validation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.7.0 120 3/12/2024
0.6.0 437 10/26/2023
0.5.0 1,322 8/10/2021
0.4.0 2,874 2/11/2020
0.3.0 794 2/9/2020
0.2.0 451 1/21/2020
0.1.0 583 1/5/2020