public void BindServerObject(ServerModel server) { Server = server; MapManager = new MapManager(Server); MapManager.MapsDirectory = server.GetMapsDirectory(); var listMaps = Server.GetMapsToDownload() .Select(x => new MapModel(x, Server)) .ToList(); Maps.Clear(); foreach (var map in listMaps) { Maps.Add(map); } MapsSelectionStatus = $"{Maps.Count(x => !x.SkipOnDownload)} / {Maps.Count()} maps"; }