예제 #1
0
        static void Main()
        {
            var config                    = Configuration.ConfigurationManager.GetCurrentConfiguration(ConfigFileLocation);
            var currentHttpClient         = new HttpClient();
            var spellCostAnalyser         = new GetSpellCostTypes(currentHttpClient, config);
            var championResourcesAnalyser = new ChampionResourcesAnalyser(currentHttpClient, config);
            var runeTypesAnalyser         = new RuneTypes(currentHttpClient, config);

            spellCostAnalyser.ExecuteAnalysis().Wait();
            championResourcesAnalyser.ExecuteAnalysis().Wait();
            runeTypesAnalyser.ExecuteAnalysis().Wait();
        }
예제 #2
0
        static void Main()
        {
            var config = Configuration.ConfigurationManager.GetCurrentConfiguration(ConfigFileLocation);
            var currentHttpClient = new HttpClient();
            var spellCostAnalyser = new GetSpellCostTypes(currentHttpClient, config);
            var championResourcesAnalyser = new ChampionResourcesAnalyser(currentHttpClient, config);
            var runeTypesAnalyser = new RuneTypes(currentHttpClient, config);

            spellCostAnalyser.ExecuteAnalysis().Wait();
            championResourcesAnalyser.ExecuteAnalysis().Wait();
            runeTypesAnalyser.ExecuteAnalysis().Wait();
        }