示例#1
0
        static void Main(string[] args)
        {
            BankingSystem banking = new BankingSystem();
            BillingSystem billing = new BillingSystem();

            Facade facade = new Facade(banking, billing);

            facade.PayBills();

            Console.ReadKey();
        }
示例#2
0
 public Facade(BankingSystem banking, BillingSystem billing)
 {
     _banking = banking;
     _billing = billing;
 }