diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-21 00:00:56 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-02-21 00:00:56 -0500 |
| commit | acf5b0b6ed173a3a9540d0585bd491a119d524cf (patch) | |
| tree | b3683559974e1c2ba81301a30788b0ce47ac331e /MediaBrowser.Model/IO/IZipClient.cs | |
| parent | a0ced20d5b2c486e6798a93d253ab106418bbd6c (diff) | |
isolated DotNetZip dependancy
Diffstat (limited to 'MediaBrowser.Model/IO/IZipClient.cs')
| -rw-r--r-- | MediaBrowser.Model/IO/IZipClient.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/MediaBrowser.Model/IO/IZipClient.cs b/MediaBrowser.Model/IO/IZipClient.cs new file mode 100644 index 000000000..c9e7e0db6 --- /dev/null +++ b/MediaBrowser.Model/IO/IZipClient.cs @@ -0,0 +1,26 @@ +using System.IO; + +namespace MediaBrowser.Model.IO +{ + /// <summary> + /// Interface IZipClient + /// </summary> + public interface IZipClient + { + /// <summary> + /// Extracts all. + /// </summary> + /// <param name="sourceFile">The source file.</param> + /// <param name="targetPath">The target path.</param> + /// <param name="overwriteExistingFiles">if set to <c>true</c> [overwrite existing files].</param> + void ExtractAll(string sourceFile, string targetPath, bool overwriteExistingFiles); + + /// <summary> + /// Extracts all. + /// </summary> + /// <param name="source">The source.</param> + /// <param name="targetPath">The target path.</param> + /// <param name="overwriteExistingFiles">if set to <c>true</c> [overwrite existing files].</param> + void ExtractAll(Stream source, string targetPath, bool overwriteExistingFiles); + } +} |
