public bool Equals(PNRPair other) { if (other != null) { return(PNRPair.Equals(this.BPNR, other.BPNR) || PNRPair.Equals(this.PNR, other.PNR)); } return(false); }
public static bool IsNullOrEmpty(PNRPair value) { if (value != null) { return(string.IsNullOrWhiteSpace(value.PNR) && string.IsNullOrWhiteSpace(value.BPNR)); } return(true); }
public static bool Equals(PNRPair first, PNRPair second) { if (first == null || second == null) { return(false); } return(first.Equals(second)); }