kdheath.Common.Core
2.1.2
Prefix Reserved
See the version list below for details.
dotnet add package kdheath.Common.Core --version 2.1.2
NuGet\Install-Package kdheath.Common.Core -Version 2.1.2
<PackageReference Include="kdheath.Common.Core" Version="2.1.2" />
paket add kdheath.Common.Core --version 2.1.2
#r "nuget: kdheath.Common.Core, 2.1.2"
// Install kdheath.Common.Core as a Cake Addin #addin nuget:?package=kdheath.Common.Core&version=2.1.2 // Install kdheath.Common.Core as a Cake Tool #tool nuget:?package=kdheath.Common.Core&version=2.1.2
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 theINotifyPropertyChanged
interface.Classes.ModelDataError
- Base class for models (and view models) that require theINotifyPropertyChanged
andINotifyDataErrorInfo
interfaces.Converters.JsonBoolean
- Additionally converts1/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 | Versions 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. |
-
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.
* Applied code refactoring based on the unit test results.
* Added an optional maxDepth parameter to the JsonHelper.ReadAppSettings method with a default value of 2.
* Added an optional timeoutSeconds parameter to the DataServiceBase constructor with a default value of 100 seconds.