示例#1
0
        public void AddFavorite(Server server)
        {
            if (UpdateFavorite(server) != null)
            {
                return;
            }

            Favorites.AddLocked(new FavoriteServer(server));
            SaveSettings();
        }