예제 #1
0
        public void UnregisterClient(String nickname)
        {
            UnregisterClientEventArgs e = new UnregisterClientEventArgs(nickname);

            if (unregisterClientHandler != null)
            {
                unregisterClientHandler(this, e);
            }
        }
예제 #2
0
 public void UnregisterClient(Object sender, UnregisterClientEventArgs eventArgs)
 {
     registry.Remove(eventArgs.nickname);
     Console.WriteLine("Removed: Nickname -> {0}", eventArgs.nickname);
 }