Esempio n. 1
0
        public static KeyValue LoadFromFile(IAbsoluteFilePath fp)
        {
            MainLog.Logger.Debug($"Loading KV from file {fp}");
            var input = fp.ReadAllText();

            MainLog.Logger.Debug($"Loaded KV from file {fp}");
            return(ParseKV(input));
        }
Esempio n. 2
0
 public T NewFromYamlFile <T>(IAbsoluteFilePath fileName) => NewFromYaml <T>(fileName.ReadAllText());