Photon Fusion 2.0.4

Public Member Functions | List of all members
Tick.EqualityComparer Class Reference

Provides a mechanism for comparing two Tick objects for equality. More...

Inherits IEqualityComparer< Tick >.

Public Member Functions

bool Equals (Tick x, Tick y)
 Determines whether the specified Tick objects are equal. More...
 
int GetHashCode (Tick obj)
 Serves as a hash function for a Tick object. More...
 

Detailed Description

Provides a mechanism for comparing two Tick objects for equality.

Member Function Documentation

◆ Equals()

bool Equals ( Tick  x,
Tick  y 
)

Determines whether the specified Tick objects are equal.

Parameters
xThe first Tick object to compare.
yThe second Tick object to compare.
Returns
true if the specified Tick objects are equal; otherwise, false.

◆ GetHashCode()

int GetHashCode ( Tick  obj)

Serves as a hash function for a Tick object.

Parameters
objThe Tick object for which to get a hash code.
Returns
A hash code for the specified Tick object.