Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Interfaces/IPluginLoader.cs @ 16984

Last change on this file since 16984 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 
1using System.Collections.Generic;
2
3namespace HeuristicLab.PluginInfrastructure {
4  /// <summary>
5  /// Interface for a plugin load mechanism.
6  /// </summary>
7  public interface IPluginLoader {
8    /// <summary>
9    /// Returns all plugins found.
10    /// </summary>
11    IEnumerable<IPlugin> Plugins { get; }
12
13    /// <summary>
14    /// Returns all Applications found.
15    /// </summary>
16    IEnumerable<IApplication> Applications { get; }
17
18    /// <summary>
19    /// Load plugins, definied by the given AssemblyInfos.
20    /// </summary>
21    /// <param name="assemblyInfos">AssemblyInfos for the assemblies, which should be loaded.</param>
22    void LoadPlugins(IEnumerable<AssemblyInfo> assemblyInfos);
23
24    /// <summary>
25    /// Searches for .dll/.exe files and validates them.
26    /// </summary>
27    /// <param name="basePath">Path of the root directory for the assemblies to validate.</param>
28    /// <returns>A IEnumerable of AssemblyInfos, which contains all loadable assemblies. </returns>
29    IEnumerable<AssemblyInfo> Validate(string basePath);
30  }
31}
Note: See TracBrowser for help on using the repository browser.