CommonFilterMsTest is an adaption of the CommonFilter project using MSTest instead of NUnit for the unit tests.
The functions include filters for:
- Input of upper case and lower case alpha
- Input of numeric fields
- Input of text containing HTML markup to check that it only contains permitted markup
- Code (and unit tests) is provided in both C# and VB.Net
The general functions are available both as a form that silently drops non-permitted characters or in a try-parse format.