private void CoverDownloader_CoversDownloadStarted(object sender, CoversDownloadStartedEventArgs e) { if (e.SearchResult != null && e.SearchResult.Result != null) { AddTasks(e.SearchResult.Result.Count()); } }
private void CoverDownloader_CoversDownloadStarted(object sender, CoversDownloadStartedEventArgs e) { if (string.IsNullOrEmpty(WebBrowser.DocumentText)) { return; } WebBrowser.Document?.InvokeScript("__onCoversDownloadStarted", e.ToObjectArray()); }
protected virtual void OnCoversDownloadStarted(CoversDownloadStartedEventArgs e) { CoversDownloadStarted.Invoke(this, e); }
private void Job_CoversDownloadStarted(object sender, CoversDownloadStartedEventArgs e) { CoversDownloadStarted.Invoke(sender, e); }