Class PluginLoadContext
- Namespace
 - FoundationaLLM.Plugin.ResourceProviders
 
- Assembly
 - FoundationaLLM.Plugin.dll
 
Represents a custom assembly load context for loading plugins.
public class PluginLoadContext : AssemblyLoadContext
  - Inheritance
 - 
      
      
      PluginLoadContext
 
- Inherited Members
 
- Extension Methods
 
Remarks
This class extends AssemblyLoadContext to provide a mechanism for loading assemblies in isolation, which is useful for plugin architectures where different versions of the same assembly might need to be loaded simultaneously.
Constructors
PluginLoadContext(string, bool, Dictionary<string, Dictionary<string, string>>, ILogger<PluginLoadContext>, string, IStorageService, string)
public PluginLoadContext(string name, bool isCollectible, Dictionary<string, Dictionary<string, string>> pluginDependencies, ILogger<PluginLoadContext> logger, string rootDependencyPackagePath, IStorageService storageService, string storageContainerName)
  Parameters
namestringisCollectibleboolpluginDependenciesDictionary<string, Dictionary<string, string>>loggerILogger<PluginLoadContext>rootDependencyPackagePathstringstorageServiceIStorageServicestorageContainerNamestring