Last change
on this file was
16984,
checked in by dpiringe, 5 years ago
|
#2924:
- merged projects HeuristicLab.PluginInfrastructure.Runner and HeuristicLab.PluginInfrastructure
- applied changes of code reviews (13.05.2019 and 22.05.2019) -> the old Runner is now RunnerHost and uses a Runner, which is executed on the child process
- added Type GetType(string) to IApplicationManager and implemented it for LightweightApplicationManager
- removed IActivator and IActivatorContext
- deleted unused types like PluginDescriptionIterator
|
File size:
1.1 KB
|
Rev | Line | |
---|
[16859] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Reflection;
|
---|
| 4 |
|
---|
| 5 | namespace HeuristicLab.PluginInfrastructure {
|
---|
[16984] | 6 | /// <summary>
|
---|
| 7 | /// Interface for an assembly loading mechanism
|
---|
| 8 | /// </summary>
|
---|
[16859] | 9 | public interface IAssemblyLoader {
|
---|
| 10 | /// <summary>
|
---|
| 11 | /// Returns all loaded assemblies.
|
---|
| 12 | /// </summary>
|
---|
| 13 | IEnumerable<Assembly> Assemblies { get; }
|
---|
[16984] | 14 |
|
---|
[16859] | 15 | /// <summary>
|
---|
| 16 | /// Returns all types.
|
---|
| 17 | /// </summary>
|
---|
| 18 | IEnumerable<Type> Types { get; }
|
---|
| 19 |
|
---|
| 20 | /// <summary>
|
---|
[16984] | 21 | /// Loads all assemblies (.dll/.exe) in the specified path.
|
---|
[16859] | 22 | /// </summary>
|
---|
[16984] | 23 | /// <param name="basePath">Path to root directory of all assemblies to load.</param>
|
---|
| 24 | /// <returns>An IEnumerable of assemblies.</returns>
|
---|
| 25 | IEnumerable<Assembly> LoadAssemblies(string basePath);
|
---|
[16859] | 26 |
|
---|
| 27 | /// <summary>
|
---|
[16984] | 28 | /// Loads all specified assemblies.
|
---|
[16859] | 29 | /// </summary>
|
---|
[16984] | 30 | /// <param name="assemblyInfos">Infos for all assemblies to load.</param>
|
---|
| 31 | /// <returns>An IEnumerable of assemblies.</returns>
|
---|
| 32 | IEnumerable<Assembly> LoadAssemblies(IEnumerable<AssemblyInfo> assemblyInfos);
|
---|
[16859] | 33 | }
|
---|
| 34 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.