WindowsDefender_WebApp.Match.RemoveUser C# (CSharp) 메소드

RemoveUser() 공개 메소드

Remove user from match and re-assign the match host if needed. Uses a monitor lock to ensure multiple users are not writing to the list at the same time.
public RemoveUser ( User user ) : void
user User The user to remove from the match.
리턴 void
        public void RemoveUser(User user)
        {
            lock (_usersLock)
            {
                Users.Remove(user);
            }
        }