Exemple #1
0
        void DoIncludeAndAppend(string filePath)
        {
            var appendListener = listener.GetAppendListener();

            using var stream = OpenFileForInclude(filePath);
            using var reader = new KV1TextReader(new StreamReader(stream), appendListener, options);
            reader.ReadObject();
        }
Exemple #2
0
        void DoIncludeAndMerge(string filePath)
        {
            var mergeListener = listener.GetMergeListener();

            using (var stream = OpenFileForInclude(filePath))
                using (var reader = new KV1TextReader(new StreamReader(stream), mergeListener, options))
                {
                    reader.ReadObject();
                }
        }