RickDotNet.Base
1.1.12
dotnet add package RickDotNet.Base --version 1.1.12
NuGet\Install-Package RickDotNet.Base -Version 1.1.12
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.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RickDotNet.Base" Version="1.1.12" />
<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.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RickDotNet.Base, 1.1.12"
#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.12
#: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.12
#tool nuget:?package=RickDotNet.Base&version=1.1.12
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 | 289 | 7/9/2025 |
| 1.1.11 | 227 | 7/9/2025 |
| 1.1.10 | 212 | 7/6/2025 |
| 1.1.9 | 229 | 6/22/2025 |
| 1.1.8 | 165 | 6/22/2025 |
| 1.1.7 | 184 | 6/22/2025 |
| 1.1.6 | 489 | 6/8/2025 |
| 1.1.5 | 315 | 6/1/2025 |
| 1.1.4 | 220 | 6/1/2025 |
| 1.1.3 | 224 | 6/1/2025 |
| 1.1.2 | 207 | 6/1/2025 |
| 1.1.1 | 238 | 5/26/2025 |
| 1.1.0 | 222 | 5/25/2025 |
| 1.0.8 | 1,027 | 2/2/2025 |
| 1.0.7 | 342 | 2/2/2025 |
| 1.0.6 | 306 | 1/2/2025 |
| 1.0.5 | 272 | 11/2/2024 |
| 1.0.4 | 187 | 10/29/2024 |
| 1.0.3 | 199 | 10/27/2024 |
| 1.0.2 | 202 | 10/22/2024 |
Loading failed