static void Main(string[] args) { IInvoicingTarget invoicingTarget = new CustomerAdapter(); ExternalBillingSystem client = new ExternalBillingSystem(invoicingTarget); client.RunInvoicing(); System.Console.ReadLine(); }
static void Main(string[] args) { // Sockets Adapter //var rectangularPlug = new RectangularPlug("Phase", "Neutral"); //System.Console.WriteLine(rectangularPlug.GetPowerSupply()); //**************************************************************** // ExternalBillingSystem IInvoicingTarget invoicingTarget = new CustomerAdapter(); ExternalBillingSystem client = new ExternalBillingSystem(invoicingTarget); client.RunInvoicing(); //**************************************************************** System.Console.ReadLine(); }