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>(); }
public void RegisterDownloadTaskViewCollection(DispatchedObservableCollection <DownloaderTaskViewItem> argDltaskViewItemList) { this.dltaskViewCollection = argDltaskViewItemList; }
public void RegisterWatchThreadViewCollection(DispatchedObservableCollection <WatchThreadViewItem> argwatchThreadViewCollection) { this.watchThreadViewCollection = argwatchThreadViewCollection; }