13 lines
321 B
C#
13 lines
321 B
C#
using DownloadManager.Core.Events;
|
|
using DownloadManager.Core.Models;
|
|
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DownloadManager.Core.Engine;
|
|
|
|
public interface IDownloader
|
|
{
|
|
Task DownloadAsync(DownloadItem item, IProgress<DownloadProgressEvent>? progress, CancellationToken ct);
|
|
}
|