private void InstalledPluginsChanged(object sender, NotifyCollectionChangedEventArgs e) { //TODO re-sort RemoveInstalledPluginsFromList(); InstalledPluginSerializer.Instance.StoreInstalledPlugins(InstalledPlugins.ToList(), EntityViewModel); }
public void EnablePlugin(InstalledPlugin installedPlugin) { installedPlugin.IsEnabled = true; RaisePropertyChanged(this, new PropertyChangedEventArgs(nameof(installedPlugin.IsEnabled))); InstalledPluginSerializer.Instance.StoreInstalledPlugins(InstalledPlugins.ToList(), EntityViewModel); }