kdheath.Common.Core 2.1.4

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package kdheath.Common.Core --version 2.1.4                
NuGet\Install-Package kdheath.Common.Core -Version 2.1.4                
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="kdheath.Common.Core" Version="2.1.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add kdheath.Common.Core --version 2.1.4                
#r "nuget: kdheath.Common.Core, 2.1.4"                
#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.
// Install kdheath.Common.Core as a Cake Addin
#addin nuget:?package=kdheath.Common.Core&version=2.1.4

// Install kdheath.Common.Core as a Cake Tool
#tool nuget:?package=kdheath.Common.Core&version=2.1.4                

About

The Common.Core package provides classes and interfaces for .NET components.

See Change Log for all release notes.

Key Features

It provides:

  • Classes
  • Converters
  • Interfaces
  • Models

Main Types

  • Classes.JsonHelper - Provides methods for serialization of data files and custom object types.
  • Classes.ModelBase - Base class for models that require the INotifyPropertyChanged interface.
  • Classes.ModelDataError - Base class for models (and view models) that require the INotifyPropertyChanged and INotifyDataErrorInfo interfaces.
  • Converters.JsonBoolean - Additionally converts 1/0. y/n, or yes/no string values to a boolean.
  • Converters.StringConverter - Provides Try/Parse static methods to convert strings to other data types.

See .NET Helper Packages for technical documentation.

Feedback

This is provided as open source under the MIT license.
Bug reports and contributions are welcome in the GitHub repository.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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
2.1.5 96 5/1/2024
2.1.4 129 4/1/2024
2.1.3 120 3/3/2024
2.1.2 137 2/7/2024
2.1.1 107 1/20/2024
2.1.0 147 1/8/2024
2.0.3 130 12/30/2023
2.0.2 135 12/24/2023

* Modified AddressFactoryBase to always set the Provinces property.
* Reinstated the default constructor for ResultSet class to use for Json serialization.
* Fixed bug in StringConverter.TryParse (bool) method so that CheckBoolStr is only called if a value is present.
* Fixed bug in the Person model to convert DateTime to DateOnly when setting the BirthDate property in the Read method.
* Added package tags.