コード例 #1
0
ファイル: SteamHelper.cs プロジェクト: dkv01/withSIX.Desktop
        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));
        }
コード例 #2
0
ファイル: YamlUtil.cs プロジェクト: dkv01/withSIX.Desktop
 public T NewFromYamlFile <T>(IAbsoluteFilePath fileName) => NewFromYaml <T>(fileName.ReadAllText());