Nihdi.Common.Validators.IbanIntroduction This project contains a Common Iban Validator. this Validator can be used to create a Iban object that will return a true/False response on the CheckIfValid Question. Getting Started
Build and Test Iban iban = new("NotValid"); iban.CheckIfValid(); Contribute for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug. Nugget Feed PRD: Nugget Feed DEV : https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.IbanValidator Nihdi.Common.Validators.CBSSIntroduction This project contains a Common CBSS Validator. this Validator can be used to create a CBSS object that will return a true/False response on the CheckIfValid Question. Getting Started
Niss niss = new Niss("NotValid"); niss.CheckIfValid(); niss.CheckIfValid(true); niss.CheckIfValid(false); Contribute for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug. Nugget Feed PRD: Nugget Feed DEV : https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.CBSSValidator Nihdi.Common.Validators.CBEIntroduction This project contains a Common CBE Validator. this Validator can be used to create a CBE object that will return a true/False response on the CheckIfValid Question. Getting Started
Cbe cbe = new("NotValid"); Assert.IsFalse(cbe.CheckIfValid(true)); Contribute for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug.Nugget Feed PRD: Nugget Feed DEV : https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.CBEValidator Nihdi.Common.Validators.NihdiNumberIntroduction This project contains a Common NihdiNumber Validator. this Validator can be used to create a NihdiNumber object that will return a true/False response on the CheckIfValid Question. Getting Started
This NihdiNumber validator is checking for the current and old checks ( 97-89-83 and 79 ) even when the imput is wrong, it can be that you get a true: check the string value for the "Corrected" value. Build and Test NihdiNumber nihdiNumber = new NihdiNumber("NotValid"); nihdiNumber.CheckIfValid() Contribute for support or bugs : please contact John Claes with the test case so we can add the case to our tests and fix the bug. Nugget Feed PRD: Nugget Feed DEV : https://tfs.riziv.org/tfs/DefaultCollection/Common/_artifacts/feed/Riziv2-PreRelease/NuGet/Nihdi.Common.Validators.NihdiNumberValidator Nihdi.Common.Validators.MailIntroduction This project is not implemented as the System.Net.Mail has a very good validation when trying the Constructor. Getting Started
using System.Net.Mail;
public class MailAddress public static bool TryCreate(string? address, out System.Net.Mail.MailAddress? result);
1. Constructor public static bool ValidateMailAddress(string mailAddressToCheck) { try { MailAddress ma = new(mailAddressToCheck); return true; } catch { // if you want to know the real error also. // please catch the error and log / return the message. return false; } } 2. TryCreate public static bool ValidateMailAddress(string mailAddressToCheck) { return MailAddress.TryCreate(mailAddressToCheck, out MailAddress? ma ); } Contribute
for support or bugs : please contact John Claes with the test case so we can add the case to our tests Comments are closed.
|
Werkgevers
All
Archives
September 2025
Oude Cv's
|
||||||||||||||||||
RSS Feed