Declaration
public CustomComparer<T> ThenBy(
Func<T, string> selector,
bool ignoreCase
)
Summary
Creates and returns a CustomComparer which uses the current comparer first, and if the current comparer says
the items are equal, further compares items by comparing the results of a string selector function.
Parameters
Func<T, string> | selector |
Function selecting the actual value to be compared. |
bool | ignoreCase |
If false, an invariant culture string comparison is used. Otherwise, an ordinal no-case comparison (suitable
for filenames etc). |