예제 #1
0
        static void Main(string[] args)
        {
            IInputOutput        inputOutput         = new ConsoleIO();
            StatisticCalculator statisticCalculator = new StatisticCalculator();
            StatisticAnalyzer   statisticAnalyzer   = new StatisticAnalyzer(statisticCalculator, inputOutput);

            statisticAnalyzer.Run();

            Console.ReadKey();
        }
예제 #2
0
 public StatisticAnalyzer(StatisticCalculator sc, IInputOutput io)
 {
     statisticCalculator = sc;
     inputOutput         = io;
 }