bool ValidateCollection (ValidatorCollection validators)
{
if (validators == null || validators.Count == 0)
return true;
bool all_valid = true;
foreach (IValidator v in validators){
v.Validate ();
if (v.IsValid == false)
all_valid = false;
}
return all_valid;
}