Class FileAssemblyProvider
Provides assemblies from a given Microsoft.Extensions.FileProviders.IFileProvider instance.
Implements
Namespace: XploRe.Runtime.Loader
Assembly: XploRe.Runtime.Loader.dll
Syntax
public class FileAssemblyProvider : Object, IAssemblyProvider
Constructors
Name | Description |
---|---|
FileAssemblyProvider(IFileProvider, AssemblyLoadContext) | Initialises a new FileAssemblyProvider instance with a given Microsoft.Extensions.FileProviders.IFileProvider instance. |
Properties
Name | Description |
---|---|
AssemblyLoadContext | The AssemblyLoadContext instance used to load assemblies. |
Default | Returns the default FileAssemblyProvider instance for assemblies found in the base directory of the System.AppContext. |
FileProvider | The Microsoft.Extensions.FileProviders.IFileProvider instance used by the assembly provider to find matching class libraries. |
Methods
Name | Description |
---|---|
GetCandidateAssemblies() | |
IsCandidateClassLibraryFile(IFileInfo) | Tests whether the provided Microsoft.Extensions.FileProviders.IFileInfo instance may reference a class library candidate. |
Load(IFileInfo) | Tries to load the class library from the given Microsoft.Extensions.FileProviders.IFileInfo instance. |