コード例 #1
0
 public BasketInRecipt(ReceiptData recipt, int reciptID, ICollection <ProductData> products) : base(products)
 {
     this.recipt   = recipt ?? throw new ArgumentNullException(nameof(recipt));
     this.reciptID = reciptID;
 }
コード例 #2
0
 public bool Equals(ReceiptData other)
 {
     return(this.receiptID == other.receiptID);
 }