protected void OnAppDomainUnloading(PluginAppDomain appDomain) { AppDomainEventHandler appDomainUnloading = AppDomainUnloading; if (appDomainUnloading == null) { return; // no listeners } appDomainUnloading(appDomain); }
protected void OnAppDomainLoaded(PluginAppDomain appDomain) { AppDomainEventHandler appDomainLoaded = AppDomainLoaded; if (appDomainLoaded == null) { return; // no listeners } appDomainLoaded(appDomain); }