ToolBX.OutWarden
3.0.0-beta1
This is a prerelease version of ToolBX.OutWarden.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package ToolBX.OutWarden --version 3.0.0-beta1
NuGet\Install-Package ToolBX.OutWarden -Version 3.0.0-beta1
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="ToolBX.OutWarden" Version="3.0.0-beta1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ToolBX.OutWarden --version 3.0.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ToolBX.OutWarden, 3.0.0-beta1"
#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 ToolBX.OutWarden as a Cake Addin #addin nuget:?package=ToolBX.OutWarden&version=3.0.0-beta1&prerelease // Install ToolBX.OutWarden as a Cake Tool #tool nuget:?package=ToolBX.OutWarden&version=3.0.0-beta1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OutWarden
Lightweight generic Result<T>
type to avoid using out
parameters in C#.
//Here's what classic "tryget" code looks like
public bool TryGetJeans(Pants value, out Jeans jeans)
{
...
}
//We've all done that (not really) but let's look a cleaner alternative...
public Result<Jeans> TryGetJeans(Pants value)
{
...
}
Getting started
return Result<T>.Success(value);
return Result<T>.Failure();
return Result<T>.Failure("Something went wrong");
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on ToolBX.OutWarden:
Package | Downloads |
---|---|
ToolBX.Reflection4Humans.Extensions
Reflection extension methods meant to be used by humans. |
|
ToolBX.OPEX
OverPowered Enumerable eXtensions - It makes your collections OP AF! |
|
ToolBX.EasyTypeParsing
Extension methods to make it easier to parse strings into other types. |
|
ToolBX.Collections.Grid
An observable, dynamic two-dimensional array. |
|
ToolBX.SimpleRepositories
Base classes and interfaces for setting up simple repositories. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.0.0 | 1,265 | 9/23/2024 |
3.0.0-beta1 | 760 | 8/29/2024 |
2.2.0 | 8,670 | 1/11/2024 |
2.2.0-beta2 | 834 | 11/22/2023 |
2.2.0-beta1 | 107 | 11/18/2023 |
2.0.0 | 12,771 | 11/9/2022 |
2.0.0-beta1 | 757 | 9/19/2022 |
1.0.0 | 1,965 | 9/19/2022 |