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