Wiki

Clone wiki

SortingV2 / SortControl

Home

#SortCollection The SortCollection contains the the various sorter types that may be selected to act upon the data. This fact, by itself is not particularly special.

What is significant about the the SortCollection is that its constructor takes in an ITraceControl as a parameter. From there, it is able to pass the currently active factory set to the selected ISortMode. And therein, the ISortMode will use the factories to construct the proper sorting class.

Whenever the factory set is updated, the change is automatically adopted by the code.

Updated