示例#1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((BottleDirectory != null ? BottleDirectory.GetHashCode() : 0) * 397) ^ (DestinationDirectory != null ? DestinationDirectory.GetHashCode() : 0));
     }
 }
示例#2
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);
     }
 }