Triplex.Validations 4.0.0-preview

This is a prerelease version of Triplex.Validations.
dotnet add package Triplex.Validations --version 4.0.0-preview
                    
NuGet\Install-Package Triplex.Validations -Version 4.0.0-preview
                    
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="Triplex.Validations" Version="4.0.0-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Triplex.Validations" Version="4.0.0-preview" />
                    
Directory.Packages.props
<PackageReference Include="Triplex.Validations" />
                    
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 Triplex.Validations --version 4.0.0-preview
                    
#r "nuget: Triplex.Validations, 4.0.0-preview"
                    
#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.
#addin nuget:?package=Triplex.Validations&version=4.0.0-preview&prerelease
                    
Install Triplex.Validations as a Cake Addin
#tool nuget:?package=Triplex.Validations&version=4.0.0-preview&prerelease
                    
Install Triplex.Validations as a Cake Tool

Validation library inspired by the concepts of Secure by Design, by Dan Bergh Johnsson, Daniel Deogun, and Daniel Sawano (MEAP 2019 Manning Publications).

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 was computed.  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.
  • net9.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Triplex.Validations:

Package Downloads
Triplex.ProtoDomainPrimitives

Use these Proto-Domain-Primitives as building blocks for your Domain Primitives and Entities (DDD) for your .NET projects.

ProtoPrimitives.NET

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.0-preview 101 6/4/2025
3.0.5-alpha 637 11/11/2021
3.0.2-alpha 230 11/11/2021
2.0.0 11,012 6/7/2021
1.1.0 406 6/4/2021
1.0.0 675 5/19/2021
0.10.0 476 5/14/2021
0.9.0 535 5/14/2021
0.8.0 384 5/11/2021
0.7.0 806 5/2/2021
0.6.0 379 4/29/2021
0.5.0 389 4/27/2021
0.4.0 559 4/20/2021
0.3.0 547 4/6/2020
0.2.0 659 1/3/2020
0.1.0 547 1/2/2020
0.0.1 568 1/2/2020

Breaking Changes
 - Obsolete members removed
 - Out-of-range Checks signature now do not allow null on other, min, and max parameters

Features
 - Introduce implicit null check for NotNullEmptyOrWhiteSpaceOnly (now NotEmptyOrWhiteSpaceOnly) and NotNullOrEmpty (now NotEmpty).
 - T CompliesWith(T?, Func<T, bool>, string, string)
 - T DoesNotComplyWith(T?, Func<T, bool>, string, string)
 - Add System.Diagnostics.CodeAnalysis.NotNull attribute to suitable parameters and method's return.
 - Remove small quality gate status badge and leave only the big one (#16)

Improvements
 - Migrate to .NET 9
 - Increase test coverage to 100 percent
 - Analyze project using sonarcloud.io (see https://sonarcloud.io/project/overview?id=lsolano_triplex)