Click or drag to resize

Comparer Class

Provides methods for comparing objects
Inheritance Hierarchy
SystemObject
  CauldronComparer

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static class Comparer

The Comparer type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEquals(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

Public methodStatic memberEqualsT, TValue(T, T, FuncT, TValue)
Determines whether a is equal to b
Public methodStatic memberGreaterThan
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'

Public methodStatic memberGreaterThanOrEqual
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'

Public methodStatic memberLessThan
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'

Public methodStatic memberLessThanOrEqual
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'

Public methodStatic memberUnEquals(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

Public methodStatic memberUnEqualsT, TValue(T, T, FuncT, TValue)
Determines whether a is unequal to b
Top
See Also