internal void SetAddonSelected(ContentClass addon, bool selected, bool ignoreSettings)
 {
     if ((selected) && (!this.selectedAddons.Contains(addon)))
     {
         this.selectedAddons.RemoveAll(x => x == addon);
         this.selectedAddons.Add(addon);
         addon.setSelected(selected, ignoreSettings);
     }
     else if ((!selected) && (this.selectedAddons.Contains(addon)))
     {
         this.selectedAddons.RemoveAll(x => x == addon);
         addon.setSelected(selected, ignoreSettings);
     }
 }
 internal void SetAddonSelected(ContentClass addon, bool selected)
 {
     if ((selected) && (!this.selectedAddons.Contains(addon)))
     {
         addon.addonState = AddonState.Installed;
         this.selectedAddons.RemoveAll(x => x == addon);
         this.selectedAddons.Add(addon);
         addon.setSelected(selected);
         //if (this.getUpToDateAddons().Contains(addon))
         //    this.Parent.quietSeed.Restart();
     }
     else if ((!selected) && (this.selectedAddons.Contains(addon)))
     {
         addon.addonState = AddonState.NotInstalled;
         bool restart = (this.getUpToDateAddons().Contains(addon));
         this.selectedAddons.RemoveAll(x => x == addon);
         addon.setSelected(selected);
         //if (restart)
         //    this.Parent.quietSeed.Restart();
     }
 }