Exemplo n.º 1
0
 public string GetExtractPath(Entry entry)
 {
     if (ExtractPaths.ContainsKey(entry))
     {
         string path = ExtractPaths[entry];
         return(File.Exists(path) ? null : path);
     }
     else
     {
         return(null);
     }
 }
Exemplo n.º 2
0
 public void SetExtractPath(Entry entry, string destinationPath)
 {
     if (destinationPath != null)
     {
         ExtractPaths.Add(entry, destinationPath);
         if (ArchiveHelpers.IsPlugin(destinationPath))
         {
             PluginPaths.Add(destinationPath);
         }
         else if (ArchiveHelpers.IsArchive(destinationPath))
         {
             ArchivePaths.Add(destinationPath);
         }
     }
 }
Exemplo n.º 3
0
 public void ClearExtractPaths()
 {
     ExtractPaths.Clear();
     PluginPaths.Clear();
     ArchivePaths.Clear();
 }