protected void RemoveLanguageResource(PluginItemRegistration itemRegistration) { PluginResource languageResource = (PluginResource)itemRegistration.Item; lock (_syncObj) _languageDirectories.Remove(languageResource.Path); ReLoad(); }
void IPluginItemStateTracker.Continue(PluginItemRegistration itemRegistration) { ItemStateTrackerContinueDlgt dlgt = Continued; if (dlgt != null) { dlgt(itemRegistration); } }
void IPluginItemStateTracker.Stop(PluginItemRegistration itemRegistration) { ItemStateTrackerStopDlgt dlgt = Stopped; if (dlgt != null) { dlgt(itemRegistration); } }
bool IPluginItemStateTracker.RequestEnd(PluginItemRegistration itemRegistration) { ItemStateTrackerRequestEndDlgt dlgt = EndRequested; return(dlgt == null || dlgt(itemRegistration)); }
public void Continue(PluginItemRegistration itemRegistration) { }
public void Stop(PluginItemRegistration itemRegistration) { Uninstall(); }
public bool RequestEnd(PluginItemRegistration itemRegistration) { return(true); }
void IPluginItemStateTracker.Continue(PluginItemRegistration itemRegistration) { ItemStateTrackerContinueDlgt dlgt = Continued; if (dlgt != null) dlgt(itemRegistration); }
void IPluginItemStateTracker.Stop(PluginItemRegistration itemRegistration) { ItemStateTrackerStopDlgt dlgt = Stopped; if (dlgt != null) dlgt(itemRegistration); }
bool IPluginItemStateTracker.RequestEnd(PluginItemRegistration itemRegistration) { ItemStateTrackerRequestEndDlgt dlgt = EndRequested; return dlgt == null || dlgt(itemRegistration); }