Last change
on this file since 18242 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
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Reflection;
|
---|
4 |
|
---|
5 | namespace HeuristicLab.PluginInfrastructure {
|
---|
6 | /// <summary>
|
---|
7 | /// Interface for an assembly loading mechanism
|
---|
8 | /// </summary>
|
---|
9 | public interface IAssemblyLoader {
|
---|
10 | /// <summary>
|
---|
11 | /// Returns all loaded assemblies.
|
---|
12 | /// </summary>
|
---|
13 | IEnumerable<Assembly> Assemblies { get; }
|
---|
14 |
|
---|
15 | /// <summary>
|
---|
16 | /// Returns all types.
|
---|
17 | /// </summary>
|
---|
18 | IEnumerable<Type> Types { get; }
|
---|
19 |
|
---|
20 | /// <summary>
|
---|
21 | /// Loads all assemblies (.dll/.exe) in the specified path.
|
---|
22 | /// </summary>
|
---|
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);
|
---|
26 |
|
---|
27 | /// <summary>
|
---|
28 | /// Loads all specified assemblies.
|
---|
29 | /// </summary>
|
---|
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);
|
---|
33 | }
|
---|
34 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.