public bool Contains(TableRow <TLeft, TRight> crow) { foreach (var row in Rows) { if (LeftComparer.Equals(row.Left, crow.Left) && RightComparer.Equals(row.Right, crow.Right)) { return(true); } } return(false); }
public bool Contains(TLeft left, TRight right) { foreach (var row in Rows) { if (LeftComparer.Equals(row.Left, left) && RightComparer.Equals(row.Right, right)) { return(true); } } return(false); }