コード例 #1
0
 protected bool Equals(NullRule other)
 {
     return(unit.Equals(other.unit) && unitPrice == other.unitPrice);
 }
コード例 #2
0
 protected bool Equals(MultibuyRule other)
 {
     return(unitUnderOffer.Equals(other.unitUnderOffer) && requiredUnits == other.requiredUnits && offerPrice == other.offerPrice);
 }