Exemplo n.º 1
0
        private static void Main()
        {
            var complexSystem = new ComplexSystem();
            IAcceptedContract employeeAdapter = new ComplexSystemAdapter(complexSystem);

            foreach (string item in employeeAdapter.GetList())
            {
                Console.Write(item);
            }
        }
Exemplo n.º 2
0
 public ComplexSystemAdapter(ComplexSystem complexSystem)
 {
     _ComplexSystem = complexSystem;
 }