Пример #1
0
 private static void HandleMessage(DownloadStarted<V2FeedPackage> message)
 {
     System.Console.WriteLine("Started downloading " + message.Item.Id +
                              " from " + message.Url + " to " + message.Destination);
 }
Пример #2
0
 private bool OnDownloadStarted(CancelEventArgs e)
 {
     DownloadStarted?.Invoke(this, e);
     return(e.Cancel);
 }