Komair.Specifications.Validation.Abstractions
10.1.3
dotnet add package Komair.Specifications.Validation.Abstractions --version 10.1.3
NuGet\Install-Package Komair.Specifications.Validation.Abstractions -Version 10.1.3
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="Komair.Specifications.Validation.Abstractions" Version="10.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Komair.Specifications.Validation.Abstractions" Version="10.1.3" />
<PackageReference Include="Komair.Specifications.Validation.Abstractions" />
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 Komair.Specifications.Validation.Abstractions --version 10.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Komair.Specifications.Validation.Abstractions, 10.1.3"
#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.
#:package Komair.Specifications.Validation.Abstractions@10.1.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Komair.Specifications.Validation.Abstractions&version=10.1.3
#tool nuget:?package=Komair.Specifications.Validation.Abstractions&version=10.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Komair.Specifications.Validation.Abstractions
Core abstractions for bridging specification-based rules into validation-oriented outputs. This package defines normalized rule descriptors, translation result contracts, and extension interfaces used by validation adapters.
Key Types
IValidationRuleProvider<T>(Rules.Abstract.Interfaces) – provides normalized validation rule descriptors for a target model typeIValidationBridge<T, TArtifact>(Translations.Abstract.Interfaces) – translates normalized rules into framework-specific artifactsIValidationAwareSpecification<T>(Rules.Abstract.Interfaces) – optional contract for specifications that can expose validation metadataValidationRuleDescriptor<T>(Rules) – canonical rule shape that combines predicate semantics and validation metadataValidationTranslationResult<TArtifact>(Translations) – structured translation output with artifacts, warnings, and failuresValidationTranslationFailure(Translations) – structured translation failure detailsValidationTranslationWarning(Translations) – structured translation warning details
Usage
using Komair.Specifications.Validation.Abstractions.Rules;
var rules = new[]
{
new ValidationRuleDescriptor<User>(t => t.Age >= 18, "User must be an adult", "Age", "AGE001")
};
Installation
dotnet add package Komair.Specifications.Validation.Abstractions
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Komair.Specifications.Validation.Abstractions:
| Package | Downloads |
|---|---|
|
Komair.Specifications.Validation.DataAnnotations
DataAnnotations adapter for Komair specification validation bridge abstractions. |
|
|
Komair.Specifications.Validation.FluentValidation
FluentValidation adapter for Komair specification validation bridge abstractions. |
GitHub repositories
This package is not used by any popular GitHub repositories.