Exemple #1
0
        public static async Task <KeyValue> LoadFromFileAsync(IAbsoluteFilePath fp, CancellationToken cancelToken)
        {
            MainLog.Logger.Debug($"Loading KV from file {fp}");
            var input = await fp.ReadTextAsync(cancelToken).ConfigureAwait(false);

            MainLog.Logger.Debug($"Loaded KV from file {fp}");
            return(ParseKV(input));
        }