Changeset 5523 for trunk/sources/HeuristicLab.PluginInfrastructure
- Timestamp:
- 02/21/11 15:55:12 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginManager.cs
r5445 r5523 79 79 pluginDomain = AppDomain.CreateDomain("plugin domain", null, setup); 80 80 Type pluginValidatorType = typeof(PluginValidator); 81 PluginValidator remoteValidator = (PluginValidator)pluginDomain.CreateInstanceAndUnwrap(pluginValidatorType.Assembly.FullName, pluginValidatorType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null , null);81 PluginValidator remoteValidator = (PluginValidator)pluginDomain.CreateInstanceAndUnwrap(pluginValidatorType.Assembly.FullName, pluginValidatorType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null); 82 82 remoteValidator.PluginDir = pluginDir; 83 83 // forward all events from the remoteValidator to listeners … … 124 124 Type applicationManagerType = typeof(DefaultApplicationManager); 125 125 DefaultApplicationManager applicationManager = 126 (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null , null);126 (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null); 127 127 applicationManager.PluginLoaded += applicationManager_PluginLoaded; 128 128 applicationManager.PluginUnloaded += applicationManager_PluginUnloaded; -
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Sandboxing/SandboxManager.cs
r5445 r5523 85 85 Type applicationManagerType = typeof(DefaultApplicationManager); 86 86 DefaultApplicationManager applicationManager = 87 (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null , null);87 (DefaultApplicationManager)applicationDomain.CreateInstanceAndUnwrap(applicationManagerType.Assembly.FullName, applicationManagerType.FullName, true, BindingFlags.NonPublic | BindingFlags.Instance, null, null, null, null); 88 88 PluginManager pm = new PluginManager(applicationBase); 89 89 pm.DiscoverAndCheckPlugins();
Note: See TracChangeset
for help on using the changeset viewer.