Nuna.Lib.NetStandard
3.5.160
dotnet add package Nuna.Lib.NetStandard --version 3.5.160
NuGet\Install-Package Nuna.Lib.NetStandard -Version 3.5.160
<PackageReference Include="Nuna.Lib.NetStandard" Version="3.5.160" />
<PackageVersion Include="Nuna.Lib.NetStandard" Version="3.5.160" />
<PackageReference Include="Nuna.Lib.NetStandard" />
paket add Nuna.Lib.NetStandard --version 3.5.160
#r "nuget: Nuna.Lib.NetStandard, 3.5.160"
#:package Nuna.Lib.NetStandard@3.5.160
#addin nuget:?package=Nuna.Lib.NetStandard&version=3.5.160
#tool nuget:?package=Nuna.Lib.NetStandard&version=3.5.160
Nuna.Lib.PatternHelper
Lightweight functional helper library for:
- optional value handling
- success/failure flow
- explicit orchestration
- null-safe repository pattern
Optimized for:
- Clean Architecture
- Tactical DDD
- Rich Domain Model
- Agentic Coding
Namespace:
Nuna.Lib.PatternHelper
Components
| Component | Purpose |
|---|---|
MayBe<T> |
Optional value handling |
Result<T> |
Success/failure operation flow |
Philosophy
Prefer:
- explicit flow
- deterministic branching
- low exception usage
- readable orchestration
Avoid:
- null checking explosion
- exception-driven flow
- nested conditional logic
Quick Example
var result = _repo
.LoadEntity(key)
.Match(
onSome: x => Process(x),
onNone: () => HandleNotFound());
Documentation
Recommended Usage
| Scenario | Use |
|---|---|
| Repository lookup | MayBe<T> |
| Validation flow | Result<T> |
| Chained orchestration | Bind() |
| Transformation | Map() |
| Explicit branching | Match() |
Design Goal
This library prioritizes:
- readability
- predictability
- low cognitive load
- token-efficient Agentic Coding
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. net9.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Dapper (>= 2.1.35)
- F23.StringSimilarity (>= 6.0.0)
- System.Data.SqlClient (>= 4.8.6)
- System.Text.Json (>= 8.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.5.160 | 39 | 5/9/2026 |
| 3.5.159 | 109 | 4/24/2026 |
| 3.5.158 | 93 | 4/24/2026 |
| 3.5.157 | 90 | 4/23/2026 |
| 3.4.156 | 394 | 10/13/2025 |
| 3.3.155 | 656 | 7/24/2025 |
| 3.3.154 | 592 | 7/24/2025 |
| 3.3.153 | 579 | 7/24/2025 |
| 3.3.152 | 571 | 7/24/2025 |
| 3.3.151 | 342 | 6/20/2025 |
| 3.2.150 | 294 | 6/18/2025 |
| 3.2.149 | 335 | 6/13/2025 |
| 3.2.148 | 364 | 6/13/2025 |
| 3.1.148 | 360 | 6/13/2025 |
| 3.1.147 | 373 | 4/1/2025 |
| 3.1.146 | 308 | 4/1/2025 |
| 3.1.145 | 307 | 4/1/2025 |
| 3.1.144 | 285 | 3/31/2025 |
| 3.1.143 | 340 | 3/5/2025 |
| 3.1.142 | 370 | 3/5/2025 |
3.5.159
- Add Nuna-Id: Distributed Base-36 ID Provider Version-2 (Monthly Millisecond)
3.5.157
- Add Nuna-Id: Distributed Base-36 ID Provider
3.4.156
- Break Compatibility: SaveChange() now is 'void' method.
3.3.155
- Add Delete Method Interface in Repo Pattern
3.3.152
- Refactor ResultMonad; using struct instead class
- Break! Repo Pattern implement Result and MayBe Monad
3.3.151
- Implement .ToMayBeMonad
- CRUD interface with MayBe-Monad result
- Delete depreceted helpers
3.2.149
- Refactor MayBe Monad creation to hide null refference compilation warning
3.2.149
- DAL Extension changed from SqlConnection to IDbConnection
3.2.148
- Feat: MayBe Monad
- Feat: Result Monad
- Break Compatibility: Remove Result Type Pattern