Kitpymes.Core.Validations
2.3.0
See the version list below for details.
dotnet add package Kitpymes.Core.Validations --version 2.3.0
NuGet\Install-Package Kitpymes.Core.Validations -Version 2.3.0
<PackageReference Include="Kitpymes.Core.Validations" Version="2.3.0" />
<PackageVersion Include="Kitpymes.Core.Validations" Version="2.3.0" />
<PackageReference Include="Kitpymes.Core.Validations" />
paket add Kitpymes.Core.Validations --version 2.3.0
#r "nuget: Kitpymes.Core.Validations, 2.3.0"
#:package Kitpymes.Core.Validations@2.3.0
#addin nuget:?package=Kitpymes.Core.Validations&version=2.3.0
#tool nuget:?package=Kitpymes.Core.Validations&version=2.3.0
Validaciones para multiples proveedores
📋 Requerimientos
Visual Studio 2026 o superior
NET TargetFramework = net10.0
SDK de .NET = 10.0.x
C# = 12
Conocimientos sobre Inyección de Dependencias
🔧 Instalación
Se puede instalar usando el administrador de paquetes Nuget o CLI dotnet.
Nuget
Install-Package Kitpymes.Core.Validations
CLI dotnet
dotnet add package Kitpymes.Core.Validations
⌨️ Uso
public sealed class CreateOrderValidator : Validator<CreateOrder>
{
public CreateOrderValidator()
{
RuleFor(x => x.Customer).Required().MaxLength(100);
RuleForEach(x => x.Lines).SetValidator(new LineValidator());
}
}
services.LoadValidations(o => o.WithAssemblies(typeof(CreateOrderValidator).Assembly));
ValidateAsync devuelve un Result con un FieldError por campo (lines.0.quantity, Validations.Mayor). La API antigua (Validator.AddRule, ValidationsException, el middleware) está obsoleta desde la 2.3.0 y se elimina en la 3.0.0. Más detalle en el README.
🛠️ Construido con
- NET Core - Framework de trabajo
- C# - Lenguaje de programación
- Inserción de dependencias - Patrón de diseño de software
- MSTest - Pruebas unitarias
- Nuget - Manejador de dependencias
- Visual Studio - Entorno de programacion
- FluentValidation - Proveedor de validaciones
✒️ Autores
- Sebastian R Ferrari - Trabajo Inicial - kitpymes
📄 Licencia
- Este proyecto está bajo la Licencia LICENSE
🎁 Gratitud
- Este proyecto fue diseñado para compartir, creemos que es la mejor forma de ayudar 📢
- Cada persona que contribuye será invitada a tomar una 🍺
- Gracias a todos! 🤓
Kitpymes 😊
| 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. |
-
net10.0
- Kitpymes.Core.Logger (>= 2.1.0)
- Kitpymes.Core.Logger.Abstractions (>= 2.1.0)
- Kitpymes.Core.Mediator.Abstractions (>= 1.0.1)
- Kitpymes.Core.Results (>= 1.2.1)
- Kitpymes.Core.Shared (>= 2.0.1)
- Kitpymes.Core.Validations.Abstractions (>= 2.3.0)
- Kitpymes.Core.Validations.FluentValidation (>= 2.3.0)
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 | |
|---|---|---|---|
| 3.0.0 | 97 | 11/24/2026 | |
| 2.3.0 | 95 | 11/24/2026 | |
| 2.2.0 | 95 | 11/24/2026 | |
| 2.1.0 | 100 | 11/23/2026 | |
| 2.0.0 | 103 | 11/20/2026 | |
| 1.0.8 | 833 | 7/20/2022 | |
| 1.0.7 | 714 | 6/25/2021 | |
| 1.0.6 | 600 | 6/22/2021 | |
| 1.0.5 | 597 | 6/15/2021 | |
| 1.0.4 | 589 | 6/14/2021 | |
| 1.0.3 | 656 | 1/11/2021 | |
| 1.0.2 | 688 | 1/9/2021 | |
| 1.0.1 | 769 | 8/15/2020 | |
| 1.0.0 | 991 | 6/17/2020 |