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