20 using System.Collections.Generic;
31 private readonly ZipFile _zipFile;
52 var stream = dataCacheProvider.
Fetch(source);
68 var stream = dataCacheProvider.
Fetch(source);
74 if (startingPosition != 0)
76 StreamReader.BaseStream.Seek(startingPosition, SeekOrigin.Begin);
90 var entry = _zipFile.Entries.FirstOrDefault(x => entryName ==
null ||
string.Compare(x.FileName, entryName, StringComparison.OrdinalIgnoreCase) == 0);
93 var stream =
new MemoryStream();
94 entry.OpenReader().CopyTo(stream);
107 return _zipFile !=
null ? _zipFile.Entries.Select(x => x.FileName).ToList() : Enumerable.Empty<
string>();