Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ RowExist()

bool System.Data.DataView.RowExist ( List< object[]> arraylist,
object[] objectArray )
inlineprivateinherited

Definition at line 1534 of file DataView.cs.

1535 {
1536 for (int i = 0; i < arraylist.Count; i++)
1537 {
1538 object[] array = arraylist[i];
1539 bool flag = true;
1540 for (int j = 0; j < objectArray.Length; j++)
1541 {
1542 flag &= array[j].Equals(objectArray[j]);
1543 }
1544 if (flag)
1545 {
1546 return true;
1547 }
1548 }
1549 return false;
1550 }

References System.array, and System.Collections.Generic.Dictionary< TKey, TValue >.Count.

Referenced by System.Data.DataView.ToTable().