Beispiel #1
0
 /// <inheritdoc/>
 public virtual bool Equals(Preismatrix other)
 {
     if (ReferenceEquals(other, null))
     {
         return(false);
     }
     return(Menge.Equals(other.Menge) &&
            Preisgruppe.Id == other.Preisgruppe.Id);
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(Menge.GetHashCode()
            ^ Preisgruppe.Id.GetHashCode());
 }