using System.Diagnostics.CodeAnalysis;
using Bit.Core.Vault.Entities;
namespace Bit.Infrastructure.IntegrationTest.Comparers;
///
/// Determines the equality of two SecurityTask objects.
///
public class SecurityTaskComparer : IEqualityComparer
{
public bool Equals(SecurityTask x, SecurityTask y)
{
return x.Id.Equals(y.Id) &&
x.Type.Equals(y.Type) &&
x.Status.Equals(y.Status);
}
public int GetHashCode([DisallowNull] SecurityTask obj)
{
return base.GetHashCode();
}
}