yavsc/Yavsc/ViewModels/Chat/ChatUserInfo.cs

31 lines
668 B
C#
Raw Normal View History

2016-11-03 14:52:17 +01:00
using System.Collections.Generic;
using Yavsc.Models.Chat;
2016-11-03 14:52:17 +01:00
namespace Yavsc.ViewModels.Chat { 
public class ChatUserInfo : IChatUserInfo
2016-11-03 14:52:17 +01:00
{
public List<Connection> Connections { get; set; }
public string UserId { get; set; }
public string UserName { get; set; }
public string Avatar { get; set; }
public string[] Roles { get; set; }
2016-11-03 14:52:17 +01:00
}
public interface IChatUserInfo
{
List<Connection> Connections { get; set; }
string UserId { get; set; }
string UserName { get; set; }
string Avatar { get; set; }
string[] Roles { get; set; }
}
2016-11-03 14:52:17 +01:00
}