public FileDownloader(IWoWRepository repository, List<FileObject> files) { Files = files; BasePath = repository.GetDefaultDirectory(); Progress = new ConsoleDownloadProgressBar(Files.Count); }
public FileDownloader(WoWRepository repository, List<FileObject> files) { Files = files; BasePath = repository.GetDefaultDirectory(); Progress = new ConsoleDownloadProgressBar(Files.Count); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new UI.ProgressBar()); }