Comparer Class |
Namespace: Cauldron
public static class Comparer
The Comparer type exposes the following members.
Name | Description | |
---|---|---|
Equals(Object, Object) |
Determines whether a is equal to b
Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the == operator, then with reflection on
'op_Equality' and as last resort uses Equals(Object, Object) to
determine equality
| |
EqualsT, TValue(T, T, FuncT, TValue) |
Determines whether a is equal to b | |
GreaterThan |
Determines whether a is greater than b
Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the > operator, then with reflection
on 'op_GreaterThan'
| |
GreaterThanOrEqual |
Determines whether a is greater than or equal to b
Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the >= operator, then with reflection
on 'op_GreaterThanOrEqual'
| |
LessThan |
Determines whether a is less than b
Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the < operator, then with reflection
on 'op_LessThan'
| |
LessThanOrEqual |
Determines whether a is less than or equal to b
Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the <= operator, then with reflection
on 'op_LessThanOrEqual'
| |
UnEquals(Object, Object) |
Determines whether a is unequal to b
Checks reference equality first with ReferenceEquals(Object, Object). Then it checks all known types with the != operator, then with reflection on
'op_Inequality' and as last resort uses Equals(Object, Object) to
determine unequality
| |
UnEqualsT, TValue(T, T, FuncT, TValue) |
Determines whether a is unequal to b |