CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Serialization.Mobile.ReferenceComparer< T > Class Template Reference

Implements an equality comparer for IMobileObject that compares the objects only on the basis is the reference value. More...

Inheritance diagram for Csla.Serialization.Mobile.ReferenceComparer< T >:

Public Member Functions

bool Equals (T x, T y)
 Determines if the two objects are reference-equal. More...
 
int GetHashCode (T obj)
 Gets the hash code value for the object. More...
 

Detailed Description

Implements an equality comparer for IMobileObject that compares the objects only on the basis is the reference value.

Template Parameters
TType of objects to compare.

Definition at line 20 of file ReferenceComparer.cs.

Member Function Documentation

◆ Equals()

bool Csla.Serialization.Mobile.ReferenceComparer< T >.Equals ( x,
y 
)

Determines if the two objects are reference-equal.

Parameters
xFirst object.
ySecond object.

Definition at line 29 of file ReferenceComparer.cs.

◆ GetHashCode()

int Csla.Serialization.Mobile.ReferenceComparer< T >.GetHashCode ( obj)

Gets the hash code value for the object.

Parameters
objObject reference.

Definition at line 38 of file ReferenceComparer.cs.