Ejemplo n.º 1
0
        public async static Task <SloaderConfig> GetAsync(string yamlLocation, Dictionary <string, string> secrets)
        {
            var client       = new HttpClient();
            var configString = await client.GetStringAsync(yamlLocation);

            var config = SloaderConfigLoader.Parse(configString, secrets);

            return(config);
        }
Ejemplo n.º 2
0
 public async static Task <SloaderConfig> Load(string yamlLocation, Dictionary <string, string> secrets)
 {
     return(await SloaderConfigLoader.GetAsync(yamlLocation, secrets));
 }