Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/24/19 12:28:29 (5 years ago)
Author:
dpiringe
Message:

#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:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Interfaces/IAssemblyLoader.cs

    r16859 r16984  
    22using System.Collections.Generic;
    33using System.Reflection;
    4 using System.Text;
    54
    65namespace HeuristicLab.PluginInfrastructure {
     6  /// <summary>
     7  /// Interface for an assembly loading mechanism
     8  /// </summary>
    79  public interface IAssemblyLoader {
    8     string BasePath { get; set; }
    9 
    1010    /// <summary>
    1111    /// Returns all loaded assemblies.
    1212    /// </summary>
    1313    IEnumerable<Assembly> Assemblies { get; }
     14
    1415    /// <summary>
    1516    /// Returns all types.
     
    1819
    1920    /// <summary>
    20     /// Returns all assemblies included in BasePath.
     21    /// Loads all assemblies (.dll/.exe) in the specified path.
    2122    /// </summary>
    22     /// <returns></returns>
    23     IEnumerable<Assembly> GetReflectionOnlyAssemblies();
     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);
    2426
    2527    /// <summary>
    26     /// Loads all assembliesm which are given by the assemblyName argument, into the current context.
     28    /// Loads all specified assemblies.
    2729    /// </summary>
    28     /// <param name="assemblyNames"></param>
    29     /// <returns>All loaded assemblies.</returns>
    30     IEnumerable<Assembly> LoadAssemblies(IEnumerable<AssemblyName> assemblyNames);
    31 
     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);
    3233  }
    3334}
Note: See TracChangeset for help on using the changeset viewer.