Konfidence.BaseClasses 2026.4.17

There is a newer version of this package available.
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
                    
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="Konfidence.BaseClasses" Version="2026.4.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Konfidence.BaseClasses" Version="2026.4.17" />
                    
Directory.Packages.props
<PackageReference Include="Konfidence.BaseClasses" />
                    
Project file
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 Konfidence.BaseClasses --version 2026.4.17
                    
#r "nuget: Konfidence.BaseClasses, 2026.4.17"
                    
#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 Konfidence.BaseClasses@2026.4.17
                    
#: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=Konfidence.BaseClasses&version=2026.4.17
                    
Install as a Cake Addin
#tool nuget:?package=Konfidence.BaseClasses&version=2026.4.17
                    
Install as a Cake Tool

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(), and DeserializeCsv<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
  • TasksDefaultIfCanceled(..), to fall back to a default instead of throwing on a cancelled Task
  • Wpf/BaseViewModel — an INotifyPropertyChanged base class with a SetField(..) change-detecting setter and a nesting SuppressNotifications() scope

Targets net9.0 and net10.0.

Breaking changes

2026.4Wpf/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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed