コード例 #1
0
 public void Adapter_With_Design()
 {
     ITarget Itarget = new EmployeeAdapter();
     ThirdPartyBillingSystem client = new ThirdPartyBillingSystem(Itarget);
     client.ShowEmployeeList();
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: abramyk-mv/Adapter
        static void Main(string[] args)
        {
            ITarget Itarget = new EmployeeAdapter();
            ThirdPartyBillingSystem client = new ThirdPartyBillingSystem(Itarget);
            client.ShowEmployeeList();

            Console.ReadKey();
        }