示例#1
0
 public double GetDiscountedPrice(CustomerAfter customerAfter) => 0.0;
 public void RemoveCustomer(CustomerAfter arg)
 {
     arg.FriendOrders().Remove(this);
     _customers.Remove(arg);
 }
示例#3
0
 public void SetCustomer(CustomerAfter arg)
 {
     Customer?.FriendOrders().Remove(this);
     Customer = arg;
     Customer?.FriendOrders().Add(this);
 }
 public void AddCustomer(CustomerAfter arg)
 {
     arg.FriendOrders().Add(this);
     _customers.Add(arg);
 }