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