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

◆ GetBinaryFilteredRecords()

Range System.Data.Select.GetBinaryFilteredRecords ( )
inlineprivate

Definition at line 766 of file Select.cs.

767 {
768 if (_matchedCandidates == 0)
769 {
770 return new Range(0, _index.RecordCount - 1);
771 }
772 int num = FindFirstMatchingRecord();
773 if (num == -1)
774 {
775 return default(Range);
776 }
777 int max = FindLastMatchingRecord(num);
778 return new Range(num, max);
779 }
int _matchedCandidates
Definition Select.cs:43
int FindLastMatchingRecord(int lo)
Definition Select.cs:741
int FindFirstMatchingRecord()
Definition Select.cs:715

References System.Data.Select._index, System.Data.Select._matchedCandidates, System.Data.Select.FindFirstMatchingRecord(), System.Data.Select.FindLastMatchingRecord(), and System.Data.Index.RecordCount.

Referenced by System.Data.Select.SelectRows().