ToolBX.OutWarden 2.2.0

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

// Install ToolBX.OutWarden as a Cake Tool
#tool nuget:?package=ToolBX.OutWarden&version=2.2.0

OutWarden

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");

What sorcery is this? -You, probably

What about TryGetResult<T>?

It's going to be removed as of 3.0.0 in favor of Result<T>.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on ToolBX.OutWarden:

Package Downloads
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.

ToolBX.Collections.ObservableDictionary

A dictionary that triggers an event when its content is changed.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 6,895 1/11/2024
2.2.0-beta2 468 11/22/2023
2.2.0-beta1 75 11/18/2023
2.0.0 12,387 11/9/2022
2.0.0-beta1 574 9/19/2022
1.0.0 1,748 9/19/2022