Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         // ReSharper disable NonReadonlyMemberInGetHashCode
         var hashCode = OpportunityType.GetHashCode();
         hashCode = (hashCode * 397) ^ FacilityUseId.GetHashCode();
         hashCode = (hashCode * 397) ^ SlotId.GetHashCode();
         hashCode = (hashCode * 397) ^ OfferId.GetHashCode();
         // ReSharper enable NonReadonlyMemberInGetHashCode
         return(hashCode);
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     //return Id.GetHashCode();
     return(Area.GetHashCode() ^ Method.GetHashCode() ^ SlotId.GetHashCode());
 }