Nzr.ToolBox.Core 1.7.0

dotnet add package Nzr.ToolBox.Core --version 1.7.0                
NuGet\Install-Package Nzr.ToolBox.Core -Version 1.7.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="Nzr.ToolBox.Core" Version="1.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nzr.ToolBox.Core --version 1.7.0                
#r "nuget: Nzr.ToolBox.Core, 1.7.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 Nzr.ToolBox.Core as a Cake Addin
#addin nuget:?package=Nzr.ToolBox.Core&version=1.7.0

// Install Nzr.ToolBox.Core as a Cake Tool
#tool nuget:?package=Nzr.ToolBox.Core&version=1.7.0                

Nzr.ToolBox

NuGet Version NuGet Downloads NuGet Downloads GitHub last commit GitHub Actions Workflow Status GitHub License

A collection of utility classes and extension methods that allow developers to have a social life.

How to use

More examples about how to use it can be found at Test Project

Usings

Nzr.ToolBox is shipped in two compiled versions:

Individual classes and extensions

https://www.nuget.org/packages/Nzr.ToolBox.Core/

Each utility class and the extensions methods were compiled in individual classes and you need to import them individually, based on your needs.

using static Nzr.ToolBox.Core.BooleanUtils;
using static Nzr.ToolBox.Core.CollectionUtils;
using static Nzr.ToolBox.Core.DateTimeUtils;
using static Nzr.ToolBox.Core.EnumUtils;
using static Nzr.ToolBox.Core.NumberUtils;
using static Nzr.ToolBox.Core.ObjectUtils;
using static Nzr.ToolBox.Core.RandomUtils;
using static Nzr.ToolBox.Core.ReflectionUtils;
using static Nzr.ToolBox.Core.StringUtils;

Combined all in one

https://www.nuget.org/packages/Nzr.ToolBox.Core.Single/

All the classes were compiled as partial classes named ToolBox and you just need one import to get all extensions and utility classes.

using static Nzr.ToolBox.Core.ToolBox

Change set

All notable changes to this project will be documented in this file.

v1.0.0

Added the following group of utilities and extension methods:

  • BooleanUtils
  • CollectionUtils
  • DateTimeUtils
  • EnumUtils
  • NumberUtils
  • ObjectUtils
  • RandomUtils
  • ReflectionUtils
  • StringUtils

v1.1.0

Added null check for some extension methods.

v1.2.0

Added new extensions:

  • NumberUtils: PadLeft extension for numeric values.
  • CollectionUtils: Contains extension for Arrays

v1.3.0

Added new extensions:

  • Equals: Compare string ignoring diacritics

v1.4.0

Upgraded the projects to target net8.0 Upgraded all libraries to the latest version (27.07.2024)

v1.4.1

Added new extensions to ObjectUtils:

  • StringifyBuilder is a extension to build a better string representation of a object.

Upgraded all libraries to the latest version (14.09.2024)

v1.6.1

Upgraded all libraries to the latest version (23.01.2025)

License

Nzr.Nano is licensed under the Apache License, Version 2.0, January 2004. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Disclaimer

This project is provided "as-is" without any warranty or guarantee of its functionality. The author assumes no responsibility or liability for any issues, damages, or consequences arising from the use of this code, whether direct or indirect. By using this project, you agree that you are solely responsible for any risks associated with its use, and you will not hold the author accountable for any loss, injury, or legal ramifications that may occur.

Please ensure that you understand the code and test it thoroughly before using it in any production environment.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.7.0 35 1/23/2025
1.6.0 63 1/21/2025
1.4.0 98 7/27/2024
1.3.0 624 1/13/2020
1.2.0 468 11/17/2019
1.1.0 476 11/7/2019
1.0.0 464 11/6/2019