RickDotNet.Base
1.1.8
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 RickDotNet.Base --version 1.1.8
NuGet\Install-Package RickDotNet.Base -Version 1.1.8
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="RickDotNet.Base" Version="1.1.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RickDotNet.Base" Version="1.1.8" />
<PackageReference Include="RickDotNet.Base" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RickDotNet.Base --version 1.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RickDotNet.Base, 1.1.8"
#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.
#:package RickDotNet.Base@1.1.8
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RickDotNet.Base&version=1.1.8
#tool nuget:?package=RickDotNet.Base&version=1.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RickDotNet.Base
A quiet spot for things that do stuff. Ready to copy, paste, and slap into your codebase.
Result
A poor man's Result type. See Documentation.
var result = Result.Try(() => int.Parse("not a number"));
//var result = Result.Success(42);
// for the nasty ones
if (result)
{
// get down to business
var business = result.ValueOrDefault();
}
// for the annoying ones
if (result.Successful)
{
// do your thing
int thing = result.ValueOrDefault();
}
// for the lazy ones
int? other = result.ValueOrDefault();
// for the funcy ones
result.Resolve(
onSuccess: value => Console.WriteLine($"Value: {value}"),
onError: error => Console.WriteLine($"Error: {error}")
);
| 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. net9.0 is compatible. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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.
-
net9.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RickDotNet.Base:
| Package | Downloads |
|---|---|
|
RickDotNet.Aether
Distributed system glue. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.12 | 297 | 7/9/2025 |
| 1.1.11 | 235 | 7/9/2025 |
| 1.1.10 | 219 | 7/6/2025 |
| 1.1.9 | 237 | 6/22/2025 |
| 1.1.8 | 171 | 6/22/2025 |
| 1.1.7 | 192 | 6/22/2025 |
| 1.1.6 | 496 | 6/8/2025 |
| 1.1.5 | 320 | 6/1/2025 |
| 1.1.4 | 226 | 6/1/2025 |
| 1.1.3 | 230 | 6/1/2025 |
| 1.1.2 | 215 | 6/1/2025 |
| 1.1.1 | 246 | 5/26/2025 |
| 1.1.0 | 228 | 5/25/2025 |
| 1.0.8 | 1,033 | 2/2/2025 |
| 1.0.7 | 351 | 2/2/2025 |
| 1.0.6 | 314 | 1/2/2025 |
| 1.0.5 | 279 | 11/2/2024 |
| 1.0.4 | 194 | 10/29/2024 |
| 1.0.3 | 206 | 10/27/2024 |
| 1.0.2 | 209 | 10/22/2024 |
Loading failed