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