Craig's Utility Library  4.0 Beta
Utilities.DataTypes.Comparison.GenericEqualityComparer< T > Class Template Reference

Generic equality comparer More...

Inheritance diagram for Utilities.DataTypes.Comparison.GenericEqualityComparer< T >:

Public Member Functions

bool Equals (T x, T y)
 Determines if the two items are equal More...
 
int GetHashCode (T obj)
 Get hash code More...
 

Detailed Description

Generic equality comparer

Template Parameters
TData type

Definition at line 32 of file GenericEqualityComparer.cs.

Member Function Documentation

bool Utilities.DataTypes.Comparison.GenericEqualityComparer< T >.Equals ( x,
y 
)

Determines if the two items are equal

Parameters
xObject 1
yObject 2
Returns
True if they are, false otherwise

Definition at line 40 of file GenericEqualityComparer.cs.

Get hash code

Parameters
objObject to get the hash code of
Returns
The object's hash code

Definition at line 87 of file GenericEqualityComparer.cs.


The documentation for this class was generated from the following file: