Added the validated entity to the ValidationResult type, and made it generic to support strongly typing the new property.