Provides various methods for creating comparisons.
More...
|
static Comparison< Nullable< T > > | NullableNullsFirst< T > (Comparison< T > comparison) |
| Converts the specified comparison for value type T into a comparison for Nullable<T>s, with nulls preceeding non-nulls. More...
|
|
static Comparison< Nullable< T > > | NullableNullsLast< T > (Comparison< T > comparison) |
| Converts the specified comparison for value type T into a comparison for Nullable<T>s, with nulls suceeding non-nulls. More...
|
|
static Comparison< T > | NullsFirst< T > (Comparison< T > comparison) |
| Prepends null sorting to the specified reference type comparison, with nulls preceeding non-nulls. More...
|
|
static Comparison< T > | NullsLast< T > (Comparison< T > comparison) |
| Prepends null sorting to the specified reference type comparison, with nulls suceeding non-nulls. More...
|
|
static Comparison< T > | Reverse< T > (Comparison< T > comparison) |
| Reverses the ordering of the specified comparison. More...
|
|
Provides various methods for creating comparisons.
static Comparison<Nullable<T> > Smooth.Comparisons.Comparisons.NullableNullsFirst< T > |
( |
Comparison< T > |
comparison | ) |
|
|
inlinestatic |
Converts the specified comparison for value type T into a comparison for Nullable<T>s, with nulls preceeding non-nulls.
static Comparison<Nullable<T> > Smooth.Comparisons.Comparisons.NullableNullsLast< T > |
( |
Comparison< T > |
comparison | ) |
|
|
inlinestatic |
Converts the specified comparison for value type T into a comparison for Nullable<T>s, with nulls suceeding non-nulls.
static Comparison<T> Smooth.Comparisons.Comparisons.NullsFirst< T > |
( |
Comparison< T > |
comparison | ) |
|
|
inlinestatic |
Prepends null sorting to the specified reference type comparison, with nulls preceeding non-nulls.
static Comparison<T> Smooth.Comparisons.Comparisons.NullsLast< T > |
( |
Comparison< T > |
comparison | ) |
|
|
inlinestatic |
Prepends null sorting to the specified reference type comparison, with nulls suceeding non-nulls.
static Comparison<T> Smooth.Comparisons.Comparisons.Reverse< T > |
( |
Comparison< T > |
comparison | ) |
|
|
inlinestatic |
Reverses the ordering of the specified comparison.
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Util Scripts/SmoothFoundations/Comparisons/Comparisons.cs