ZeidLab.ToolBox
1.1.2502.2422
dotnet add package ZeidLab.ToolBox --version 1.1.2502.2422
NuGet\Install-Package ZeidLab.ToolBox -Version 1.1.2502.2422
<PackageReference Include="ZeidLab.ToolBox" Version="1.1.2502.2422" />
paket add ZeidLab.ToolBox --version 1.1.2502.2422
#r "nuget: ZeidLab.ToolBox, 1.1.2502.2422"
// Install ZeidLab.ToolBox as a Cake Addin #addin nuget:?package=ZeidLab.ToolBox&version=1.1.2502.2422 // Install ZeidLab.ToolBox as a Cake Tool #tool nuget:?package=ZeidLab.ToolBox&version=1.1.2502.2422
๐ค What is ZeidLab.ToolBox
Library?
ZeidLab.ToolBox is a versatile and robust utility library designed to simplify common programming tasks, enhance error handling, and promote functional programming paradigms in C#. It provides a collection of tools and extensions that streamline operations such as null checks, error handling, task management, and railway-oriented programming (ROP) sometimes known as "Result Pattern".
๐ Features
- Unit Type: A type representing the absence of a meaningful value, useful in functional programming.
- Maybe Type: A monadic type for handling optional values, similar to Option in functional languages.
- Result Type: A robust error-handling type for railway-oriented programming, allowing chaining of operations with explicit success and failure states.
- Error Handling: Structured error handling with ResultError,supporting error codes, messages, and exceptions.
- Asynchronous Support: Comprehensive support for asynchronous operations with Result types.
Inspired by LanguageExt, this library offers a more compact and user-friendly alternative with extensive examples and tutorials.
๐ฆ Installation
To use ZeidLab.ToolBox in your project, you can install it via NuGet:
dotnet add package ZeidLab.ToolBox
for more information please visit ToolBox Package On NuGet.
๐ ChangeLogs
By each release we add new features and bug fixes. You can find the full change log here.
๐ Need Help? Read the Wiki and watch the Tutorials
There is a very detailed Wiki for this library full of descriptions and examples. also there is a YouTube channel with a dedicated video tutorials playlist for this library.
The main topics of this library are:
Types and PageLink | Short Description |
---|---|
Maybe<TIn> |
A monadic type for handling optional values, similar to Option in functional languages. |
Result<TIn> |
A robust error-handling type for railway-oriented programming, allowing chaining of operations with explicit success and failure states. |
Unit |
A type representing the absence of a meaningful value, useful in functional programming. |
ResultError |
Structured error handling with supporting error codes, messages, and exceptions. |
Try<TIn> |
A delegate to handel the unhandled exceptions in an efficient and expressive way in a synchronous flow of functions. |
TryAsync<TIn> |
A delegate to handel the unhandled exceptions in an efficient and expressive way in a synchronous flow of functions. |
Extension Methods | Methods to interact with Result<TIn> types |
โญ๏ธ Star and Follow
Star this repository and follow me on GitHub to stay informed about new releases and updates. Your support fuels this project's growth!
๐ก Love My Work? Support the Journey!
If my content adds value to your projects, consider supporting me via crypto.
- Bitcoin: bc1qlfljm9mysdtu064z5cf4yq4ddxgdfztgvghw3w
- USDT(TRC20): TJFME9tAnwdnhmqGHDDG5yCs617kyQDV39
Thank you for being part of this communityโletโs build smarter, together
๐ค Contributions are welcome!
Please feel free to submit issues, feature requests, or pull requests.
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes.
- Push your branch and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions 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. 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. |
.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 is compatible. |
.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. |
-
.NETStandard 2.0
- AsyncMethodNameFixer (>= 2.3.0)
-
.NETStandard 2.1
- AsyncMethodNameFixer (>= 2.3.0)
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.1.2502.2422 | 44 | 2/24/2025 |
1.1.2502.2013 | 47 | 2/20/2025 |
1.1.2502.1618 | 82 | 2/16/2025 |
1.1.2502.1510 | 86 | 2/15/2025 |
1.0.0-preview-250205134509 | 68 | 2/5/2025 |
1.0.0-preview-250117102955 | 61 | 1/17/2025 |
1.0.0-preview-250113112143 | 68 | 1/13/2025 |
1.0.0-preview-250113110427 | 58 | 1/13/2025 |
1.0.0-preview-250112104449 | 71 | 1/12/2025 |
1.0.0-preview-250110120258 | 68 | 1/10/2025 |
1.0.0-preview-250109195935 | 53 | 1/9/2025 |