IegTools.SemanticTypes 1.0.0-rc.1

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

// Install IegTools.SemanticTypes as a Cake Tool
#tool nuget:?package=IegTools.SemanticTypes&version=1.0.0-rc.1&prerelease                

IegTools.SemanticTypes

IegTools.SemanticTypes is a library that offers a minimalist collection of base classes and some type-implementations, which can be used to describe the meaning of a value.

Why?

I created this library for usage in other open-source NuGet packages and internal projects. Please feel free to examine the source code and use it in your projects.

The primary focus was to keep the base classes as simple as possible to prevent any unnecessary confusion.

What's included in the library?

The library currently contains the following:

  • SemanticType base class
  • NumericSemanticType base class
  • GrossPrice
  • NetPrice
  • Vat
  • Percentage
  • Percentage0to100

Unit Testing

The library has been thoroughly unit tested. The tests are located in the UnitTests.SemanticTypes project.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.

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
1.0.0 211 4/12/2023
1.0.0-rc.2 100 4/12/2023
1.0.0-rc.1 97 4/11/2023

Release Candidate 1