Add files via upload

This commit is contained in:
Kalakoi
2019-06-21 14:49:37 -04:00
committed by GitHub
parent 2b04353d53
commit d1b7974d42
50 changed files with 2401 additions and 0 deletions

27
src/TestFriendModel.cs Normal file
View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Kalakoi.Xbox.OpenXBL;
namespace Kalakoi.Xbox.App
{
public abstract class TestFriendModel : ModelBase
{
private List<Friend> _friendsList;
private int _selectedFriendIndex;
public List<Friend> FriendsList
{
get { return _friendsList; }
set { SetProperty(ref _friendsList, value, nameof(FriendsList)); SelectedFriendIndex = -1; }
}
public int SelectedFriendIndex
{
get { return _selectedFriendIndex; }
set { SetProperty(ref _selectedFriendIndex, value, nameof(SelectedFriendIndex)); }
}
}
}