Exemplo n.º 1
0
 public static bool CompressOne(this ICompressorWrapper wrapper, string type, Stream stream, string fileName, Stream fileStream)
 {
     return(wrapper.CompressMultiple(type, stream, new Dictionary <string, Stream>()
     {
         { fileName, fileStream }
     }));
 }
Exemplo n.º 2
0
 public static bool Delete(this ICompressorWrapper wrapper, string type, Stream stream, string path)
 {
     return(wrapper.Delete(type, stream, (p) => PathFE.MatchFileMask(p, path)));
 }