Beispiel #1
0
 public void Enable(ResourcePack pack)
 {
     DisabledPacks.Remove(pack);
     pack.IsEnabled = true;
     EnabledPacks.Insert(0, pack);
 }
Beispiel #2
0
        public void Delete(ResourcePack pack)
        {
            bool _ = (pack.IsEnabled) ? EnabledPacks.Remove(pack) : DisabledPacks.Remove(pack);

            _resourcePackService.DeleteFromDisk(pack);
        }