Konfidence.BaseClasses
2026.4.20
See the version list below for details.
dotnet add package Konfidence.BaseClasses --version 2026.4.20
NuGet\Install-Package Konfidence.BaseClasses -Version 2026.4.20
<PackageReference Include="Konfidence.BaseClasses" Version="2026.4.20" />
<PackageVersion Include="Konfidence.BaseClasses" Version="2026.4.20" />
<PackageReference Include="Konfidence.BaseClasses" />
paket add Konfidence.BaseClasses --version 2026.4.20
#r "nuget: Konfidence.BaseClasses, 2026.4.20"
#:package Konfidence.BaseClasses@2026.4.20
#addin nuget:?package=Konfidence.BaseClasses&version=2026.4.20
#tool nuget:?package=Konfidence.BaseClasses&version=2026.4.20
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.6 | 0 | 9/16/2026 |
| 2026.5.5 | 79 | 9/9/2026 |
| 2026.5.4 | 69 | 9/9/2026 |
| 2026.5.3 | 85 | 9/9/2026 |
| 2026.5.2 | 91 | 9/4/2026 |
| 2026.5.1 | 95 | 8/31/2026 |
| 2026.4.21 | 97 | 8/30/2026 |
| 2026.4.20 | 95 | 8/29/2026 |
| 2026.4.19 | 95 | 8/29/2026 |
| 2026.4.18 | 105 | 8/28/2026 |
| 2026.4.17 | 100 | 8/28/2026 |
| 2026.4.16 | 94 | 8/28/2026 |
| 2026.4.15 | 100 | 8/28/2026 |
| 2026.4.14 | 101 | 8/28/2026 |
| 2026.4.13 | 99 | 8/27/2026 |
| 2026.4.12 | 95 | 8/27/2026 |
| 2026.4.11 | 93 | 8/26/2026 |
| 2026.4.10 | 98 | 8/26/2026 |
| 2026.4.9 | 103 | 8/26/2026 |
| 2026.4.8 | 99 | 8/26/2026 |