private void OnApplicationStarted(PluginInfrastructureEventArgs e) { if (ApplicationStarted != null) { ApplicationStarted(this, e); } }
private void OnPluginLoaded(PluginInfrastructureEventArgs e) { if (PluginLoaded != null) { PluginLoaded(this, e); } }
private void OnInitialized(PluginInfrastructureEventArgs e) { if (Initialized != null) { Initialized(this, e); } }
private void applicationManager_PluginLoaded(object sender, PluginInfrastructureEventArgs e) { // load the matching plugin description ( PluginDescription desc = (PluginDescription)e.Entity; // access to plugin descriptions has to be synchronized because multiple applications // can be started or stopped at the same time lock (locker) { // also load the matching plugin description in this AppDomain plugins.First(x => x.Equals(desc)).Load(); } OnPluginLoaded(e); }
private void pluginManager_PluginLoaded(object sender, PluginInfrastructureEventArgs e) { SetStatusStrip("Loaded " + e.Entity); }
private void pluginManager_Initializing(object sender, PluginInfrastructureEventArgs e) { SetStatusStrip("Initializing PluginInfrastructure"); }
private void installationManager_PluginInstalled(object sender, PluginInfrastructureEventArgs e) { SetStatusStrip("Installed " + e.Entity); }
private void OnPluginLoaded(PluginInfrastructureEventArgs e) { if (PluginLoaded != null) PluginLoaded(this, e); }
private void manager_ApplicationStarted(object sender, PluginInfrastructureEventArgs e) { SafeUpdateMessage("Started " + e.Entity); }
private void manager_Initializing(object sender, PluginInfrastructureEventArgs e) { SafeUpdateMessage("Initializing"); }
private void manager_PluginLoaded(object sender, PluginInfrastructureEventArgs e) { SafeUpdateMessage("Loaded " + e.Entity); }
private void OnInstalled(PluginInfrastructureEventArgs args) { if (PluginInstalled != null) PluginInstalled(this, args); }
private void OnDeleted(PluginInfrastructureEventArgs args) { if (PluginRemoved != null) PluginRemoved(this, args); }
private void OnApplicationStarted(PluginInfrastructureEventArgs e) { if (ApplicationStarted != null) { ApplicationStarted(this, e); } }
private void OnInitialized(PluginInfrastructureEventArgs e) { if (Initialized != null) { Initialized(this, e); } }
private void applicationManager_PluginLoaded(object sender, PluginInfrastructureEventArgs e) { // load the matching plugin description ( PluginDescription desc = (PluginDescription)e.Entity; // access to plugin descriptions has to be synchronized because multiple applications // can be started or stopped at the same time lock (locker) { // also load the matching plugin description in this AppDomain plugins.First(x => x.Equals(desc)).Load(); } OnPluginLoaded(e); }