Click or drag to resize

FunctionComparerT, G Class

A comparer that maps a value from one type to another, for either equality comparison or order comparison.
Inheritance Hierarchy
SystemObject
  WhetStone.ComparisonFunctionComparerT, G

Namespace:  WhetStone.Comparison
Assembly:  WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
public class FunctionComparer<T, G> : IComparer<T>, 
	IEqualityComparer<T>

Type Parameters

T
The original type to be compared.
G
The mapped type to compare.

The FunctionComparerT, G type exposes the following members.

Constructors
Methods
  NameDescription
Public methodCompare
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEquals(T, T)
Determines whether the specified objects are equal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHashCode(T)
Returns a hash code for the specified object.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also