Exemple #1
0
        public Task SendDataToUser()
        {
            string message
                = ClientInfo.getGroup(Context.ConnectionId).Equals("")
                ? UnityClientList.getClientList()
                : UnityDataHolder.getData(ClientInfo.getGroup(Context.ConnectionId));

            return(Clients.Caller.SendAsync("DataUpdate", message));
        }
Exemple #2
0
 public void ClientListStringNotEmpty()
 {
     Assert.False(UnityClientList.getClientList().Equals(""));
 }