Exemplo n.º 1
0
        public void loginUserAndAdd(string username, delegateCommunication servToClient)
        {
            userList.AddFirst(new UserHolder(username, servToClient));

            if (addUser != null)
            {
                addUser(username);
            }
        }
Exemplo n.º 2
0
 public UserHolder(string username, delegateCommunication serverToUser)
 {
     this.username     = username;
     this.serverToUser = serverToUser;
 }