Ejemplo n.º 1
0
 private static bool NotEqualsExtracted(ReadOnlyNeedle <T> left, ReadOnlyNeedle <T> right)
 {
     if (ReferenceEquals(left, null))
     {
         return(!ReferenceEquals(right, null));
     }
     return(!left._target.Equals(right._target));
 }
Ejemplo n.º 2
0
 private static bool NotEqualsExtracted(ReadOnlyNeedle <T> left, ReadOnlyNeedle <T> right)
 {
     if (left == null)
     {
         return(right != null);
     }
     return(!left._target.Equals(right._target));
 }
Ejemplo n.º 3
0
 public bool Equals(ReadOnlyNeedle <T> other)
 {
     if (other is null)
     {
         return(false);
     }
     return(other._target.Equals(_target));
 }
Ejemplo n.º 4
0
 public bool Equals(ReadOnlyNeedle <T> other)
 {
     return(EqualsExtracted(this, other));
 }
Ejemplo n.º 5
0
 public bool Equals(ReadOnlyNeedle <T> other)
 {
     return(!(other is null) && other._target.Equals(_target));
 }