Inheritance: ITechnologiesCountProvider
Esempio n. 1
0
        public static void Main()
        {
            Console.OutputEncoding = Encoding.UTF8;

            var technologiesList =
                new JobsBgTechnologiesCountProvider().GetCount(new TechnologiesProvider().GetTechnologies());

            Console.WriteLine();
            Console.WriteLine("Technology,Count");
            foreach (var item in technologiesList.OrderByDescending(x => x.Value))
            {
                Console.WriteLine($"{item.Key},{item.Value}");
            }
        }
Esempio n. 2
0
        public static void Main()
        {
            Console.OutputEncoding = Encoding.UTF8;

            ITechnologiesProvider      technologiesProvider      = new CommonTechnologiesProvider();
            ITechnologiesCountProvider technologiesCountProvider = new JobsBgTechnologiesCountProvider();
            var technologiesList = technologiesCountProvider.GetCount(technologiesProvider.GetTechnologies());

            Console.WriteLine();
            Console.WriteLine("Technology,Count");
            foreach (var item in technologiesList.OrderByDescending(x => x.Value))
            {
                Console.WriteLine($"{item.Key},{item.Value}");
            }
        }