示例#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;
 }