Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((FullKey != null ? FullKey.GetHashCode() : 0) * 397) ^ (Value != null ? Value.GetHashCode() : 0));
     }
 }
Example #2
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = _hashCode;
         hashCode = (hashCode * 397) ^ FullKey.GetHashCode();
         hashCode = (hashCode * 397) ^ (LoadtypeGuid != null ? LoadtypeGuid.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ DeviceCategory.GetHashCode();
         hashCode = (hashCode * 397) ^ LocationGuid.GetHashCode();
         hashCode = (hashCode * 397) ^ DeviceGuid.GetHashCode();
         hashCode = (hashCode * 397) ^ HouseholdKey.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)ThisDeviceType;
         return(hashCode);
     }
 }
Example #3
0
 public override int GetHashCode()
 {
     return(7 * FullKey.GetHashCode());
 }