Validation Composition Templates

Topics: Validation Application Block
Dec 7, 2007 at 12:57 PM
Edited Dec 7, 2007 at 1:08 PM
Hi there,
I just evaluated the Validation Application Block and composed some compley validation rules.
Example (Simplified code for explanation):

<NotNullValidator />
<ContainsCharactersValidator />
<StringLengthValidator />

I want to use the same validation rules for more than one property without retyping the whole composition each time.

Is there a way to save a combination of validatiors as a template and reuse it for other properties?