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.
|
|
|
|
using DownKyi.Models;
|
|
|
|
|
using Prism.Commands;
|
|
|
|
|
using Prism.Events;
|
|
|
|
|
using Prism.Mvvm;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace DownKyi.ViewModels.DownloadManager
|
|
|
|
|
{
|
|
|
|
|
public class ViewDownloadingViewModel : BaseViewModel
|
|
|
|
|
{
|
|
|
|
|
public const string Tag = "PageDownloadManagerDownloading";
|
|
|
|
|
|
|
|
|
|
#region 页面属性申明
|
|
|
|
|
|
|
|
|
|
private ObservableCollection<DownloadingItem> downloadingList;
|
|
|
|
|
public ObservableCollection<DownloadingItem> DownloadingList
|
|
|
|
|
{
|
|
|
|
|
get { return downloadingList; }
|
|
|
|
|
set { SetProperty(ref downloadingList, value); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ViewDownloadingViewModel(IEventAggregator eventAggregator) : base(eventAggregator)
|
|
|
|
|
{
|
|
|
|
|
DownloadingList = App.DownloadingList;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|