Konfidence.BaseClasses
2026.4.17
See the version list below for details.
dotnet add package Konfidence.BaseClasses --version 2026.4.17
NuGet\Install-Package Konfidence.BaseClasses -Version 2026.4.17
<PackageReference Include="Konfidence.BaseClasses" Version="2026.4.17" />
<PackageVersion Include="Konfidence.BaseClasses" Version="2026.4.17" />
<PackageReference Include="Konfidence.BaseClasses" />
paket add Konfidence.BaseClasses --version 2026.4.17
#r "nuget: Konfidence.BaseClasses, 2026.4.17"
#:package Konfidence.BaseClasses@2026.4.17
#addin nuget:?package=Konfidence.BaseClasses&version=2026.4.17
#tool nuget:?package=Konfidence.BaseClasses&version=2026.4.17
Konfidence.BaseClasses
Shortcuts and base implementations I use across my own software: small, fluent helpers that make code read better, plus a few things I got tired of rewriting.
Part of the Konfidence.BaseClasses collection of libraries.
What is in it
- Fluent checks —
.IsAssigned(),.IsEof(),.IsGuid(),.IsNumeric(),.StartOfDayTime(),.EndOfDayTime() - JSON and CSV — a default-configured System.Text.Json serializer/deserializer, a JSON-roundtrip
Clone(), andDeserializeCsv<T>(..)based on CsvHelper - String extensions — trimming (with and without case sensitivity),
ReplaceIgnoreCase(..),InitLowerCase()/InitUpperCase(),ToDecimal() - File paths — walk up parent directories to find a file or folder
- Command line arguments — a small parser for the configuration argument line used with MS dependency injection
- Environment variables — unified over user, machine and process scope; Windows and Linux
- Tasks —
DefaultIfCanceled(..), to fall back to a default instead of throwing on a cancelledTask - Wpf/BaseViewModel — an
INotifyPropertyChangedbase class with aSetField(..)change-detecting setter and a nestingSuppressNotifications()scope
Targets net9.0 and net10.0.
Breaking changes
2026.4 — Wpf/BaseViewModel.SetFrozenField(..) was removed. It raised PropertyChanged and then restored the field to its previous value. If you relied on it to force a re-read of a bound property, call OnPropertyChanged(..) directly instead.
Full documentation
Per-method detail, the other libraries in the collection, and build/test instructions are in the README on github.com.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 is compatible. 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. |
-
net10.0
- CsvHelper (>= 33.1.0)
- JetBrains.Annotations (>= 2026.2.0)
-
net9.0
- CsvHelper (>= 33.1.0)
- JetBrains.Annotations (>= 2026.2.0)
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 |
|---|---|---|
| 2026.5.5 | 0 | 9/9/2026 |
| 2026.5.4 | 0 | 9/9/2026 |
| 2026.5.3 | 0 | 9/9/2026 |
| 2026.5.2 | 50 | 9/4/2026 |
| 2026.5.1 | 85 | 8/31/2026 |
| 2026.4.21 | 87 | 8/30/2026 |
| 2026.4.20 | 87 | 8/29/2026 |
| 2026.4.19 | 84 | 8/29/2026 |
| 2026.4.18 | 98 | 8/28/2026 |
| 2026.4.17 | 92 | 8/28/2026 |
| 2026.4.16 | 86 | 8/28/2026 |
| 2026.4.15 | 91 | 8/28/2026 |
| 2026.4.14 | 92 | 8/28/2026 |
| 2026.4.13 | 90 | 8/27/2026 |
| 2026.4.12 | 86 | 8/27/2026 |
| 2026.4.11 | 84 | 8/26/2026 |
| 2026.4.10 | 89 | 8/26/2026 |
| 2026.4.9 | 95 | 8/26/2026 |
| 2026.4.8 | 90 | 8/26/2026 |
| 2026.4.7 | 88 | 8/26/2026 |