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

◆ EnumerableRowCollection() [4/4]

System.Data.EnumerableRowCollection< TRow >.EnumerableRowCollection ( EnumerableRowCollection< TRow > source,
IEnumerable< TRow > enumerableRows,
Func< TRow, TRow > selector )
inlinepackage

Definition at line 59 of file EnumerableRowCollection.cs.

60 {
63 if (source != null)
64 {
65 if (source._selector == null)
66 {
67 _table = source._table;
68 }
69 _listOfPredicates = new List<Func<TRow, bool>>(source._listOfPredicates);
70 _sortExpression = source._sortExpression.Clone();
71 }
72 else
73 {
76 }
77 }
readonly IEnumerable< TRow > _enumerableRows
readonly SortExpressionBuilder< TRow > _sortExpression
readonly List< Func< TRow, bool > > _listOfPredicates
SortExpressionBuilder< T > Clone()

References System.Data.EnumerableRowCollection< TRow >._enumerableRows, System.Data.EnumerableRowCollection< TRow >._listOfPredicates, System.Data.EnumerableRowCollection< TRow >._selector, System.Data.EnumerableRowCollection< TRow >._sortExpression, System.Data.EnumerableRowCollection< TRow >._table, System.Data.SortExpressionBuilder< T >.Clone(), System.Linq.selector, and System.source.