Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (BottleName != null ? BottleName.GetHashCode() : 0);
         result = (result * 397) ^ (BottleDirectory != null ? BottleDirectory.GetHashCode() : 0);
         result = (result * 397) ^ (DestinationDirectory != null ? DestinationDirectory.GetHashCode() : 0);
         return(result);
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((BottleDirectory != null ? BottleDirectory.GetHashCode() : 0) * 397) ^ (DestinationDirectory != null ? DestinationDirectory.GetHashCode() : 0));
     }
 }