public bool Equals(MultiFactorResolverWrapper?other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (GetType() != other.GetType()) { return(false); } if (ReferenceEquals(_multiFactorResolver, other._multiFactorResolver)) { return(true); } return(_multiFactorResolver.Equals(other._multiFactorResolver)); }