public void Adapter_With_Design()
 {
     ITarget Itarget = new EmployeeAdapter();
     ThirdPartyBillingSystem client = new ThirdPartyBillingSystem(Itarget);
     client.ShowEmployeeList();
 }
示例#2
0
        static void Main(string[] args)
        {
            ITarget Itarget = new EmployeeAdapter();
            ThirdPartyBillingSystem client = new ThirdPartyBillingSystem(Itarget);
            client.ShowEmployeeList();

            Console.ReadKey();
        }