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