Chat user info model implementation

main
Paul Schneider 9 years ago
parent ec3ef78c2a
commit f1f904de45
2 changed files with 24 additions and 0 deletions

@ -0,0 +1,23 @@
using System.Collections.Generic;
namespace YavscLib
{
public interface IConnection
{
string ConnectionId { get; set; }
string UserAgent { get; set; }
bool Connected { get; set; }
}
public interface IChatUserInfo
{
IConnection[] Connections { get; set; }
string UserId { get; set; }
string UserName { get; set; }
string Avatar { get; set; }
string[] Roles { get; set; }
}
}

@ -58,6 +58,7 @@
<ItemGroup>
<Content Include="project.json" />
<Content Include="IBlackListed.cs" />
<Content Include="IChatUserInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

Loading…