Credit to Steven for this answer, but I had to make some changes for it to work as this.Validators.Where() had some problems.
using System.Linq;
List<IValidator> errored = this.Validators.Cast<IValidator>().Where(v => !v.IsValid).ToList();
Credit to Steven for this answer, but I had to make some changes for it to work as this.Validators.Where() had some problems.
using System.Linq;
List<IValidator> errored = this.Validators.Cast<IValidator>().Where(v => !v.IsValid).ToList();