IAssemblyLoader Interface
HAKOM.DependencyInjection.Configuration.Net
Section titled “HAKOM.DependencyInjection.Configuration.Net”HAKOM.DependencyInjection.Configuration.Net.Api
Section titled “HAKOM.DependencyInjection.Configuration.Net.Api”Responsible for loading an assembly from the given path.
public interface IAssemblyLoaderMethods
Section titled “Methods”IAssemblyLoader.Load(string, string) Method
Section titled “IAssemblyLoader.Load(string, string) Method”Attempts to load an assembly from the given fileName.
System.Reflection.Assembly Load(string fileName, string? referencesRoot);Parameters
Section titled “Parameters”fileName System.String
The absolute or relative location of the file to be loaded.
referencesRoot System.String
Optionally, an absolute path to a directory in which assemblies referenced by the assembly given in fileName are located.
Returns
Section titled “Returns”System.Reflection.Assembly
The loaded System.Reflection.Assembly.
Exceptions
Section titled “Exceptions”FailedToLoadAssemblyException
Thrown when the assembly cannot be loaded.
Was this page helpful?Thanks for your feedback!