Ejemplo n.º 1
0
 private static bool NotEqualsExtracted(ReadOnlyPromiseNeedle <T> left, ReadOnlyPromiseNeedle <T> right)
 {
     if (left == null)
     {
         return(right != null);
     }
     return(!left.Equals(right));
 }
Ejemplo n.º 2
0
 private static bool EqualsExtracted(ReadOnlyPromiseNeedle <T> left, ReadOnlyPromiseNeedle <T> right)
 {
     if (ReferenceEquals(left, null))
     {
         return(ReferenceEquals(right, null));
     }
     return(left.Equals(right));
 }