Exemplo n.º 1
0
        public WatchThreadSerializer(WatchThreadManager argWatchThreadManager, DownloadManager argDownloadManager, DispatchedObservableCollection <WatchThreadViewItem> argwatchThreadViewCollection)
        {
            this.debugLogText              = new DebugLog();
            this.watchThreadManager        = argWatchThreadManager;
            this.downloadManager           = argDownloadManager;
            this.watchThreadViewCollection = argwatchThreadViewCollection;
            string path = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData).ToString(), "InBefore404");

            try {
                Directory.CreateDirectory(path);
            } catch {
            }
            this.serializeFilePath = Path.Combine(path, "WatchThreadList.xml");
        }
 public DownloaderTaskViewItemList(Dispatcher dispatcher)
 {
     this.dispatcherUIThread = dispatcher;
     this.thedltvitems       = new DispatchedObservableCollection <DownloaderTaskViewItem>();
 }
Exemplo n.º 3
0
 public void RegisterDownloadTaskViewCollection(DispatchedObservableCollection <DownloaderTaskViewItem> argDltaskViewItemList)
 {
     this.dltaskViewCollection = argDltaskViewItemList;
 }
Exemplo n.º 4
0
 public void RegisterWatchThreadViewCollection(DispatchedObservableCollection <WatchThreadViewItem> argwatchThreadViewCollection)
 {
     this.watchThreadViewCollection = argwatchThreadViewCollection;
 }