hi, how to customize an Attribute for validation.i need 1 very goood example.

but i have doubt that : 
in 

Code
 m_validationAttributes.Add(new CustomValidationAttribute(typeof(DateOfBirthValidator), "ValidateDateOfBirth"));
Code
what i can write in ValidateDateOfBirth ? what is the signature for it?