Changeset 16984 for branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Interfaces/IAssemblyLoader.cs
- Timestamp:
- 05/24/19 12:28:29 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Interfaces/IAssemblyLoader.cs
r16859 r16984 2 2 using System.Collections.Generic; 3 3 using System.Reflection; 4 using System.Text;5 4 6 5 namespace HeuristicLab.PluginInfrastructure { 6 /// <summary> 7 /// Interface for an assembly loading mechanism 8 /// </summary> 7 9 public interface IAssemblyLoader { 8 string BasePath { get; set; }9 10 10 /// <summary> 11 11 /// Returns all loaded assemblies. 12 12 /// </summary> 13 13 IEnumerable<Assembly> Assemblies { get; } 14 14 15 /// <summary> 15 16 /// Returns all types. … … 18 19 19 20 /// <summary> 20 /// Returns all assemblies included in BasePath.21 /// Loads all assemblies (.dll/.exe) in the specified path. 21 22 /// </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); 24 26 25 27 /// <summary> 26 /// Loads all assembliesm which are given by the assemblyName argument, into the current context.28 /// Loads all specified assemblies. 27 29 /// </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); 32 33 } 33 34 }
Note: See TracChangeset
for help on using the changeset viewer.