Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((ToolId.GetHashCode() * 397) ^ PageNumber);
     }
 }
Пример #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (ToolId != null ? ToolId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (ToolVersion != null ? ToolVersion.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (FileName != null ? FileName.GetHashCode() : 0);
         return(hashCode);
     }
 }