This commit is contained in:
Paul Schneider 2016-12-15 01:27:40 +01:00
commit 5e5f6a3d25
6 changed files with 26 additions and 15 deletions

View file

@ -2,7 +2,7 @@ using System.Collections.Generic;
using Yavsc.Model.Chat;
namespace Yavsc.ViewModels.Chat { 
public class ChatUserInfo
public class ChatUserInfo : IChatUserInfo
{
public List<Connection> Connections { get; set; }
@ -16,4 +16,16 @@ public class ChatUserInfo
public string[] Roles { get; set; }
}
public interface IChatUserInfo
{
List<Connection> Connections { get; set; }
string UserId { get; set; }
string UserName { get; set; }
string Avatar { get; set; }
string[] Roles { get; set; }
}
}