Пример #1
0
 public void PrintComplex(ComplexInvoice invoice)
 {
     Console.WriteLine($"Complex Invoice Total: {invoice.CalculateTotal()} including tax rate: ${invoice.TaxRate}");
 }
 public ComplexInvoiceModifier(ComplexInvoice invoice)
 {
     Invoice = invoice;
 }