kdheath.Common.Core 2.1.0

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.0                
NuGet\Install-Package kdheath.Common.Core -Version 2.1.0                
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.0" />                
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.0                
#r "nuget: kdheath.Common.Core, 2.1.0"                
#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.0

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

About

The Common Core package contains useful classes and interfaces for .NET components.

See Change Log for 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.

Feedback

This is provided as open source under the MIT license.
Bug reports and contributions are welcome at 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 97 5/1/2024
2.1.4 130 4/1/2024
2.1.3 121 3/3/2024
2.1.2 138 2/7/2024
2.1.1 108 1/20/2024
2.1.0 148 1/8/2024
2.0.3 133 12/30/2023
2.0.2 136 12/24/2023

* Breaking Changes: Common.Models.Address, Common.Interfaces.IPerson and Common.Models.Person changed to support multi-country address data.
* Common.Classes.AddressFactory is removed, use Common.Classes.AddressFactoryBase (which was added in v2.0.2) instead.
* Common.Models.USState is removed, use Common.Models.Province instead.
* Common.Models.USZipCode is removed, use Common.Models.Postcode instead.
* AddressDataBase changed to support setting of the DefaultCountry property in derived class constructor.