Home BoundEqualityComparer Class
BoundEqualityComparer Class
Cancel

BoundEqualityComparer Class

Namespace: Json.Schema.DataGeneration

Inheritance: BoundEqualityComparer 🡒 object

Implemented interfaces:

  • IEqualityComparer<Bound>

Comparator for Json.Schema.DataGeneration.Bound.

Properties

NameTypeSummary
InstanceIEqualityComparer<Bound>Static instance of the comparer.

Methods

Equals(Bound x, Bound y)

Determines whether the specified objects are equal.

Declaration

1
public bool Equals(Bound x, Bound y)
ParameterTypeDescription
xBoundThe first object of type T to compare.
yBoundThe second object of type T to compare.

Returns

true if the specified objects are equal; otherwise, false.

GetHashCode(Bound obj)

Returns a hash code for the specified object.

Declaration

1
public int GetHashCode(Bound obj)
ParameterTypeDescription
objBoundThe System.Object for which a hash code is to be returned.

Returns

A hash code for the specified object.

Contents