Doppelganger.Validator.Abstractions 1.0.0
Doppelganger
Formator
string phoneNumber = PhoneNumberFormatter.FormatePhoneNumber("06********");
Validator
public class Voiture : IValidable
{
[Requierd]
public string Immatriculation { get; set; }
public string Couleur { get; set; }
[RequiredSubObject]
public Marque Marque { get; set; }
}
public class Marque : IValidable
{
[Requierd]
public string Nom { get; set; }
}
public void Validation(Voiture voiture)
{
if(!voiture.TryValidate(out List<ValidationResult> validationResults))
{
await _modalService.ShowError(validationResults);
}
}
public IActionResult Post(Vehicule vehicule)
{
try
{
ModelState.CheckModel();
...
}
catch(InvalidModelException ex)
{
...
}
}
Showing the top 20 packages that depend on Doppelganger.Validator.Abstractions.
| Packages | Downloads |
|---|---|
|
Doppelganger.Validator
Package Description
|
5,897 |
|
Kelpie.Blazor
Package Description
|
853 |
|
SynKro.Commun.Abstractions
Package Description
|
554 |
|
Kelpie.Blazor
Package Description
|
290 |
|
Kelpie.Blazor
Package Description
|
232 |
|
Kelpie.Blazor
Package Description
|
194 |
|
SynKro.Commun.Abstractions
Package Description
|
169 |
|
SynKro.Commun.Abstractions
Package Description
|
127 |
|
Kelpie.Blazor
Package Description
|
101 |
|
SynKro.Commun.Abstractions
Package Description
|
60 |
|
SynKro.Commun.Abstractions
Package Description
|
56 |
|
SynKro.Commun.Abstractions
Package Description
|
50 |
|
SynKro.Commun.Abstractions
Package Description
|
48 |
|
Kelpie.Blazor
Package Description
|
45 |
|
SynKro.Commun.Abstractions
Package Description
|
30 |
|
Kelpie.Blazor
Package Description
|
21 |
|
Kelpie.Blazor
Package Description
|
18 |
|
Kelpie.Blazor
Package Description
|
15 |
|
SynKro.Commun.Abstractions
Package Description
|
13 |
Add IValidable
.NET 8.0
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.0 | 5,868 | 06/05/2025 |