IZipClient.cs 943 B

1234567891011121314151617181920212223242526
  1. using System.IO;
  2. namespace MediaBrowser.Model.IO
  3. {
  4. /// <summary>
  5. /// Interface IZipClient
  6. /// </summary>
  7. public interface IZipClient
  8. {
  9. /// <summary>
  10. /// Extracts all.
  11. /// </summary>
  12. /// <param name="sourceFile">The source file.</param>
  13. /// <param name="targetPath">The target path.</param>
  14. /// <param name="overwriteExistingFiles">if set to <c>true</c> [overwrite existing files].</param>
  15. void ExtractAll(string sourceFile, string targetPath, bool overwriteExistingFiles);
  16. /// <summary>
  17. /// Extracts all.
  18. /// </summary>
  19. /// <param name="source">The source.</param>
  20. /// <param name="targetPath">The target path.</param>
  21. /// <param name="overwriteExistingFiles">if set to <c>true</c> [overwrite existing files].</param>
  22. void ExtractAll(Stream source, string targetPath, bool overwriteExistingFiles);
  23. }
  24. }