public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ResourceName?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ Id.GetHashCode();
         hashCode = (hashCode * 397) ^ Is32Bit.GetHashCode();
         hashCode = (hashCode * 397) ^ (ClsId?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ Name?.GetHashCode() ?? 0;
         return(hashCode);
     }
 }
 public override int GetHashCode()
 {
     return(ClsId.GetHashCode() ^ (Server == null ? 0 : Server.GetHashCode()));
 }