public override void Validate(List<ErrorInfo> errors) { base.Validate(errors); if (AInput.Item == null) errors.AddError("A input is required.",this); if (BInput.Item == null) errors.AddError("B input is required.", this); }