public bool Equals(PromiseNeedle <T> other) { if (other is null) { return(false); } return(_target.Equals(other._target)); }
private static bool NotEqualsExtracted(PromiseNeedle <T> left, PromiseNeedle <T> right) { if (ReferenceEquals(left, null)) { return(!ReferenceEquals(right, null)); } return(!left.Equals(right)); }
public ReadOnlyPromiseNeedle(PromiseNeedle <T> promised) : base(promised) { _promised = promised; }
public bool Equals(PromiseNeedle <T> other) { return(EqualsExtracted(this, other)); }
public bool Equals(PromiseNeedle <T> other) { return(!(other is null) && _target.Equals(other._target)); }