Esempio n. 1
0
 public async IAsyncEnumerable <T> LoadPluginsAsAsyncEnumerable <T>(AssemblyScanResult scanResult, string hostFramework = null, Action <PluginLoadContext> configureLoadContext = null)
 {
Esempio n. 2
0
 public void PluginAssemblySelected(AssemblyScanResult <T> scanResult)
 {
     Log($"Plugin<{this.pluginType}> was selected in assembly {scanResult.AssemblyName} at {scanResult.AssemblyPath}");
 }
Esempio n. 3
0
 public static IPluginLoadContext FromAssemblyScanResult(AssemblyScanResult <T> assemblyScanResult)
 => new DefaultPluginLoadContext <T>(assemblyScanResult.AssemblyName, assemblyScanResult.AssemblyPath);