Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = (MotherBoardId != null ? MotherBoardId.GetHashCode() : 0);
         result = (result * 397) ^ ModuleId.GetHashCode();
         result = (result * 397) ^ ControlId.GetHashCode();
         result = (result * 397) ^ ModuleType.GetHashCode();
         result = (result * 397) ^ BlockId.GetHashCode();
         return(result);
     }
 }