Table of Contents

Interface IValueEqualityComparer<T>

Namespace
NextORM.Core
Assembly
nextorm.core.dll

An equality comparer for value types that takes its operands by reference to avoid boxing.

public interface IValueEqualityComparer<T> where T : struct

Type Parameters

T

The value type being compared.

Extension Methods

Methods

ValueEquals(in T, in T)

Determines whether two values are equal.

bool ValueEquals(in T x, in T y)

Parameters

x T

The first value.

y T

The second value.

Returns

bool

true when the values are equal; otherwise false.