<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.19" />

Microsoft.Rest.Utilities.ObjectComparer<T>

Generic class to compare objects
public ObjectComparer(Func<T, T, bool> comparisonDelegate)

Initializes a new instance of the TypeComparer class

public ObjectComparer(Func<T, T, bool> comparisonDelegate, Func<T, int> hashComputeDelegate)

Initializes a new instance of the TypeComparer class

public bool Equals(T x, T y)

Implmentation for IEualityComparer

public int GetHashCode(T obj)

Compare hash