Skip to content

A one-stop library for common utilities for developing .NET applications.

License

Notifications You must be signed in to change notification settings

cognophile/Toolblox

Repository files navigation

contrast-icon

Toolblox

A one-stop library for common utilities for developing .NET applications.

Build Quality Gate Status Nuget


Introduction

Toolblox aims to be the only utility-providing library you need for any .NET project by covering as much commonly required behaviour as possible.

Behavioural Summary

  • Boolean: Access to common boolean-based extension behaviours.
  • Collections: Access to common collection extension behaviours.
  • Dates: Access to common date extension behaviours.
  • JSON: Access to common JSON-based behaviours.
  • Numbers: Access to common numeric-based extension behaviours.
  • Objects: Access to generic object extension behaviours.
  • Strings: Access to common string-based extension behaviours.

Support

If you find this library useful and wish to take a moment to say a simple thanks, or support its development, then a star or donation would be hugely appreciated!

Installation

Documentation

Documentation of the available behaviours can be found within the wiki, here.

Usage

Toolblox can be interfaced with in multiple ways, either via an instance, a static call, or an extension method.

Instances

using Cognophile.Toolblox;
...

public static void DoSomething(string myString)
{
    ...
    Toolblox blox = new();
    bool result = blox.StringBlock.IsNull(myString);
    ...
}

Statically

using Cognophile.Toolblox;
...

public static void DoSomething(string myString)
{
    ...
    var result = Toolblox.Strings.IsNull(myString);
    ...
}

Extensions

using Cognophile.Toolblox.Blocks.Extensions.Strings;
...

public static void DoSomething(string myString)
{
    ...
    var result = myString.IsNull();
    ...
}

Dependencies

Contributing

Contributions of all kinds are welcome - whether it be submitting a suggestion for how the library could be improved or extended, or by submitting a pull request with the completed work to the project. However, before submitting any suggestions, please read through CONTRIBUTING.md to ensure your work is in the best state to be accepted.


Icon attribution: Freepik from www.flaticon.com

About

A one-stop library for common utilities for developing .NET applications.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages