mirror of https://github.com/leiurayer/downkyi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
753 B
26 lines
753 B
using DownKyi.Models;
|
|
using System.Collections.ObjectModel;
|
|
|
|
namespace DownKyi.Services.Download
|
|
{
|
|
public class DownloadService
|
|
{
|
|
protected string Tag = "DownloadService";
|
|
|
|
protected ObservableCollection<DownloadingItem> downloadingList;
|
|
protected ObservableCollection<DownloadedItem> downloadedList;
|
|
|
|
/// <summary>
|
|
/// 初始化
|
|
/// </summary>
|
|
/// <param name="downloading"></param>
|
|
/// <returns></returns>
|
|
public DownloadService(ObservableCollection<DownloadingItem> downloadingList, ObservableCollection<DownloadedItem> downloadedList)
|
|
{
|
|
this.downloadingList = downloadingList;
|
|
this.downloadedList = downloadedList;
|
|
}
|
|
|
|
}
|
|
}
|