Beispiel #1
0
        public bool Equals(IUseCase <TRequest, TResponse> x, IUseCase <TRequest, TResponse> y)
        {
            if (x is null)
            {
                return(false);
            }

            if (y is null)
            {
                return(false);
            }

            if (!ReferenceEquals(x, y))
            {
                return(false);
            }

            if (x.GetHashCode() != y.GetHashCode())
            {
                return(false);
            }

            return(true);
        }