Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = Id?.GetHashCode() ?? 0;
         result = (result * 397) ^ SpisovaZnacka.GetHashCode();
         result = (result * 397) ^ DatumVlozeni.GetHashCode();
         result = (result * 397) ^ (Popis?.GetHashCode() ?? 0);
         result = (result * 397) ^ (Url?.GetHashCode() ?? 0);
         result = (result * 397) ^ (Oddil?.GetHashCode() ?? 0);
         return(result);
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         var result = Id.GetHashCode();
         result = (result * 397) ^ (DokumentUrl?.GetHashCode() ?? 0);
         result = (result * 397) ^ (TypUdalosti?.GetHashCode() ?? 0);
         result = (result * 397) ^ (PopisUdalosti?.GetHashCode() ?? 0);
         result = (result * 397) ^ SpisovaZnacka.GetHashCode();
         result = (result * 397) ^ (Oddil?.GetHashCode() ?? 0);
         result = (result * 397) ^ (Poznamka?.GetHashCode() ?? 0);
         result = (result * 397) ^ DatumZalozeniUdalosti.GetHashCode();
         return(result);
     }
 }