mirror of
https://github.com/bitwarden/server.git
synced 2024-12-02 13:53:23 +01:00
19 lines
461 B
C#
19 lines
461 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Bit.Core.Entities;
|
|
|
|
namespace Bit.Infrastructure.EFIntegration.Test.Repositories.EqualityComparers
|
|
{
|
|
public class SsoUserCompare : IEqualityComparer<SsoUser>
|
|
{
|
|
public bool Equals(SsoUser x, SsoUser y)
|
|
{
|
|
return x.ExternalId == y.ExternalId;
|
|
}
|
|
|
|
public int GetHashCode([DisallowNull] SsoUser obj)
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
}
|
|
}
|