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(); }
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(); } }