public void VerifyMatch(TableData other, TableDataComparer comparer) { if (!IsMatch(other, comparer)) throw new EquivalenceException(EquivalenceDetails(other)); }
public bool IsMatch(TableData other, TableDataComparer comparer) { if (comparer == null) throw new ArgumentNullException("comparer"); return comparer.IsMatch(this, other); }