예제 #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();
        }
예제 #2
0
        private 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();
                }
        }