Changeset 5652 for trunk/sources/HeuristicLab.PluginInfrastructure
- Timestamp:
- 03/10/11 10:06:55 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/ApplicationDescription.cs
r5445 r5652 27 27 /// </summary> 28 28 [Serializable] 29 internalsealed class ApplicationDescription : IApplicationDescription {29 public sealed class ApplicationDescription : IApplicationDescription { 30 30 private string name; 31 31 -
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginManager.cs
r5523 r5652 54 54 /// Gets all installed applications. 55 55 /// </summary> 56 internalIEnumerable<ApplicationDescription> Applications {56 public IEnumerable<ApplicationDescription> Applications { 57 57 get { return applications; } 58 58 } … … 110 110 /// </summary> 111 111 /// <param name="appInfo">application to run</param> 112 internalvoid Run(ApplicationDescription appInfo) {112 public void Run(ApplicationDescription appInfo) { 113 113 if (!initialized) throw new InvalidOperationException("PluginManager is not initialized. DiscoverAndCheckPlugins() must be called before Run()"); 114 114 // create a separate AppDomain for the application -
trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginValidator.cs
r5631 r5652 179 179 } 180 180 // try to load each .dll file in the plugin directory into the reflection only context 181 foreach (string filename in Directory.GetFiles(baseDir, "*.dll") ) {181 foreach (string filename in Directory.GetFiles(baseDir, "*.dll").Union(Directory.GetFiles(baseDir, "*.exe"))) { 182 182 try { 183 183 Assembly asm = Assembly.ReflectionOnlyLoadFrom(filename);
Note: See TracChangeset
for help on using the changeset viewer.