예제 #1
0
파일: Program.cs 프로젝트: mp11b/PRZ
        public static void Main()
        {
            RESTCountries       apiCountries        = new RESTCountries();
            CalculateStatistics calculateStatistics = new CalculateStatistics();
            PrintCountriesInfo  printCountries      = new PrintCountriesInfo();
            ConsoleUI           consoleUI           = new ConsoleUI(apiCountries, calculateStatistics, printCountries);

            consoleUI.UI();
        }
예제 #2
0
파일: ConsoleUI.cs 프로젝트: mp11b/PRZ
 public ConsoleUI(RESTCountries apiCountries, CalculateStatistics statistics, PrintCountriesInfo printCountries)
 {
     this.apiCountries   = apiCountries;
     this.statistics     = statistics;
     this.printCountries = printCountries;
 }