aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Ava/UI/ViewModels/UserProfileViewModel.cs
blob: 70274847f0485fca81a5d477bd3ecbea2f89f5f3 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                     
                            
                                     
 
                                   

                                                              
                                     
                                                             
                                                                   
                                                   
         
                                                                     
 
                                                                           
                                         
 


                                      
     
 
using Microsoft.IdentityModel.Tokens;
using Ryujinx.Ava.UI.Models;
using System;
using System.Collections.ObjectModel;

namespace Ryujinx.Ava.UI.ViewModels
{
    public class UserProfileViewModel : BaseModel, IDisposable
    {
        public UserProfileViewModel()
        {
            Profiles = new ObservableCollection<BaseModel>();
            LostProfiles = new ObservableCollection<UserProfile>();
            IsEmpty = LostProfiles.IsNullOrEmpty();
        }

        public ObservableCollection<BaseModel> Profiles { get; set; }

        public ObservableCollection<UserProfile> LostProfiles { get; set; }

        public bool IsEmpty { get; set; }

        public void Dispose()
        {
            GC.SuppressFinalize(this);
        }
    }
}