public static void Validate(IValidableObject obj) { ValidationResults results = obj.Validate(); if (results.IsValid == false) { throw new ValidationException(results, obj.GetType().Name); } }