Exemple #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));
        }
Exemple #2
0
 public T NewFromYamlFile <T>(IAbsoluteFilePath fileName) => NewFromYaml <T>(fileName.ReadAllText());