Beispiel #1
0
 /// <summary>
 /// Reports updated file transfers.
 /// </summary>
 /// <param name="transfer">The updated file transfer.</param>
 private void OnFileTransferUpdated(FileTransfer transfer)
 {
     SynchronizationContext.Post(t =>
     {
         var handler = FileTransferUpdated;
         handler?.Invoke(this, (FileTransfer)t);
     }, transfer.Clone());
 }