Exemple #1
0
 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);
 }
Exemple #2
0
 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);
 }