Beispiel #1
0
        private static bool NotEqualsExtracted(ExceptionStructNeedle <T> left, ExceptionStructNeedle <T> right)
        {
            var leftException  = left._exception;
            var rightException = right._exception;

            if (leftException == null)
            {
                return(rightException != null);
            }
            return(!leftException.Equals(rightException));
        }
Beispiel #2
0
 public bool Equals(ExceptionStructNeedle <T> other)
 {
     return(EqualsExtracted(this, other));
 }