コード例 #1
0
 private static bool NotEqualsExtracted(PromiseNeedle <T> left, PromiseNeedle <T> right)
 {
     if (ReferenceEquals(left, null))
     {
         return(!ReferenceEquals(right, null));
     }
     return(!left.Equals(right));
 }
コード例 #2
0
 public bool Equals(PromiseNeedle <T> other)
 {
     return(EqualsExtracted(this, other));
 }