LANCommander/LANCommander.Playnite.Extension/Models/DownloadQueue.cs
2024-01-22 01:50:30 -06:00

25 lines
789 B
C#

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LANCommander.PlaynitePlugin.Models
{
public class DownloadQueue : ObservableObject
{
private DownloadQueueItem currentItem { get; set; }
public DownloadQueueItem CurrentItem {
get => currentItem;
set
{
currentItem = value;
OnPropertyChanged();
}
}
public ObservableCollection<DownloadQueueItem> Items { get; set; } = new ObservableCollection<DownloadQueueItem>();
public ObservableCollection<DownloadQueueItem> Completed { get; set; } = new ObservableCollection<DownloadQueueItem>();
}
}