NF.Results 1.0.1

NF.Results: rust likes option/result type

NF.Results contains rust likes option/result type for C#.

Install-Package NF.Results -Version 1.0.1
dotnet add package NF.Results --version 1.0.1
<PackageReference Include="NF.Results" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NF.Results --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NF.Results

NF.Results contains rust likes option/result type for C#.

  • Version: 1.0.1

What's this?

I want to use Result, Option type likes rust.
at first I tried to Optional.
but, It's not suitable for me. so I written this code.

The fast track

  • nuget install NF.Results

Example

  • https://github.com/netpyoung/NF.Results/blob/master/NF.Results/NF.Results.Tests/Tests.cs

Ref.

  • https://doc.rust-lang.org/std/option/enum.Option.html
  • https://doc.rust-lang.org/std/result/enum.Result.html
  • https://github.com/nlkl/Optional

NF.Results

NF.Results contains rust likes option/result type for C#.

  • Version: 1.0.1

What's this?

I want to use Result, Option type likes rust.
at first I tried to Optional.
but, It's not suitable for me. so I written this code.

The fast track

  • nuget install NF.Results

Example

  • https://github.com/netpyoung/NF.Results/blob/master/NF.Results/NF.Results.Tests/Tests.cs

Ref.

  • https://doc.rust-lang.org/std/option/enum.Option.html
  • https://doc.rust-lang.org/std/result/enum.Result.html
  • https://github.com/nlkl/Optional

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.1 227 3/17/2018
1.0.0 205 2/24/2018