You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add test for IComparable
* Detect IComparable params and use that for ordering
* Create IntroComparableComplexParam.cs
* Add IntroComparableComplexParam sample doc
* Remove primitive comparers in favor of IComparable
* Simplify intro example
* Simplify more
You can implement `IComparable` (the non generic version) on your complex parameter class if you want custom ordering behavior for your parameter.
8
+
9
+
One use case for this is having a parameter class that overrides `ToString()`, but also providing a custom ordering behavior that isn't the alphabetical order of the result of `ToString()`.
0 commit comments