Пример #1
0
 protected virtual void OnDownloadFinished(DownloadEventArgs e)
 {
     if (Finished)
     {
         return;
     }
     Finished = true;
     FinishedDownload?.Invoke(this, e);
 }
Пример #2
0
 static void downloader_StartedDownload(object sender, DownloadEventArgs e)
 {
     Console.WriteLine("yotube-dl process started");
 }
Пример #3
0
 protected virtual void OnDownloadStarted(DownloadEventArgs e)
 {
     StartedDownload?.Invoke(this, e);
 }