UserProfileViewModel.cs 726 B

12345678910111213141516171819202122232425
  1. using Microsoft.IdentityModel.Tokens;
  2. using System;
  3. using System.Collections.ObjectModel;
  4. using UserProfile = Ryujinx.Ava.UI.Models.UserProfile;
  5. namespace Ryujinx.Ava.UI.ViewModels
  6. {
  7. public class UserProfileViewModel : BaseModel, IDisposable
  8. {
  9. public UserProfileViewModel()
  10. {
  11. Profiles = new ObservableCollection<BaseModel>();
  12. LostProfiles = new ObservableCollection<UserProfile>();
  13. IsEmpty = LostProfiles.IsNullOrEmpty();
  14. }
  15. public ObservableCollection<BaseModel> Profiles { get; set; }
  16. public ObservableCollection<UserProfile> LostProfiles { get; set; }
  17. public bool IsEmpty { get; set; }
  18. public void Dispose() { }
  19. }
  20. }