mirror of
https://github.com/bitwarden/server.git
synced 2025-07-08 19:34:09 -05:00

* Revert "Add git blame entry (#2226)" This reverts commit239286737d
. * Revert "Turn on file scoped namespaces (#2225)" This reverts commit34fb4cca2a
.
20 lines
563 B
C#
20 lines
563 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using Bit.Core.Models.Data;
|
|
|
|
namespace Bit.Infrastructure.EFIntegration.Test.Repositories.EqualityComparers
|
|
{
|
|
public class UserKdfInformationCompare : IEqualityComparer<UserKdfInformation>
|
|
{
|
|
public bool Equals(UserKdfInformation x, UserKdfInformation y)
|
|
{
|
|
return x.Kdf == y.Kdf &&
|
|
x.KdfIterations == y.KdfIterations;
|
|
}
|
|
|
|
public int GetHashCode([DisallowNull] UserKdfInformation obj)
|
|
{
|
|
return base.GetHashCode();
|
|
}
|
|
}
|
|
}
|