public void visitContainedRecords(RecordVisitor rv) {if (_validationList.isEmpty()) {return;}rv.visitRecord(_headerRec);_validationList.forEach(rv::visitRecord);}
public override void VisitContainedRecords(RecordVisitor rv){if (_validationList.Count == 0){return;}rv.VisitRecord(_headerRec);for (int i = 0; i < _validationList.Count; i++){rv.VisitRecord((Record)_validationList[i]);}}