mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00
29 lines
728 B
C#
29 lines
728 B
C#
using Ryujinx.Ava.UI.Models;
|
|
using System;
|
|
using System.Collections.ObjectModel;
|
|
using System.Linq;
|
|
|
|
namespace Ryujinx.Ava.UI.ViewModels
|
|
{
|
|
public class UserProfileViewModel : BaseModel, IDisposable
|
|
{
|
|
public UserProfileViewModel()
|
|
{
|
|
Profiles = new ObservableCollection<BaseModel>();
|
|
LostProfiles = new ObservableCollection<UserProfile>();
|
|
IsEmpty = !LostProfiles.Any();
|
|
}
|
|
|
|
public ObservableCollection<BaseModel> Profiles { get; set; }
|
|
|
|
public ObservableCollection<UserProfile> LostProfiles { get; set; }
|
|
|
|
public bool IsEmpty { get; set; }
|
|
|
|
public void Dispose()
|
|
{
|
|
GC.SuppressFinalize(this);
|
|
}
|
|
}
|
|
}
|