public override void RemoveItem(string downloadId, bool deleteData) { if (deleteData) { DeleteItemData(downloadId); } _dsTaskProxy.RemoveTask(ParseDownloadId(downloadId), Settings); _logger.Debug("{0} removed correctly", downloadId); }
public override void RemoveItem(DownloadClientItem item, bool deleteData) { if (deleteData) { DeleteItemData(item); } _dsTaskProxy.RemoveTask(ParseDownloadId(item.DownloadId), Settings); _logger.Debug("{0} removed correctly", item.DownloadId); }