예제 #1
0
 private static void OnBrandBadgesUpdate(object sender, EventArgs e)
 {
     CarBrandsList.ReplaceEverythingBy(FilesStorage.Instance.GetContentFiles(ContentCategory.BrandBadges).Select(x => x.Name));
 }
예제 #2
0
 public static void RebuildCarBrandsList()
 {
     Logging.Write("RebuildCarBrandsList()");
     CarBrandsList.ReplaceEverythingBy(from c in CarsManager.Instance where c.Enabled select c.Brand);
 }