Version 1.2 of TNValidate is a small incremental improvement on 1.1, and is fully backwards compatible with both 1.1 and 1.0. New in 1.2:
- A BooleanValidator that allows for IsTrue and IsFalse validation.
- An Is method in ValidatorBase - and thus inherited by all other validators - that takes a predicate lambda expression. This provides a neat way to apply validation rules that are not already built in.
The new features in this release were inspired by Tore Nestenius as he used TNValidate in his development work, and implemented by Jonathan Worthington.