public void Start() { IconDb iconDb = new IconDb(); icons = new Dictionary <int, Icon>(); List <Icon> temp = iconDb.GetAll(); foreach (Icon icon in temp) { icons.Add(icon.Id, icon); } }
private void ReloadIcons() { icons = iconDb.GetAll(); }
public void Start() { IconDb iconDb = new IconDb(); icons = new Dictionary <int, Icon>(); List <Icon> temp = iconDb.GetAll(); foreach (Icon icon in temp) { icons.Add(icon.Id, icon); } }
private void ReloadIcons() { icons = iconDb.GetAll(); }