Interface IAssemblyLoader
Interface for loading assemblies.
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
public interface IAssemblyLoader
Methods
| Improve this Doc View SourceLoadAssembly(AssemblyName)
Attempts to load an assembly.
Declaration
Assembly LoadAssembly(AssemblyName assemblyName)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.AssemblyName | assemblyName | The name of the assembly to be loaded. |
Returns
Type | Description |
---|---|
System.Reflection.Assembly | The resolved assembly reference. |
LoadAssemblyFromPath(String)
Attempts to load an assembly.
Declaration
Assembly LoadAssemblyFromPath(string assemblyFilePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | assemblyFilePath | The file path of the assembly to be loaded. |
Returns
Type | Description |
---|---|
System.Reflection.Assembly | The resolved assembly reference. |