private static async Task <DependencyContext> GetDependencyContextFromPluginAssemblyAsync <T>(IPluginLoadContext pluginLoadContext, IDepsFileProvider <T> depsFileProvider) { return(new DependencyContextJsonReader().Read(await depsFileProvider.ProvideDepsFile(pluginLoadContext))); }
private static DependencyContext GetDependencyContextFromPluginAssembly <T>(IPluginLoadContext pluginLoadContext, IDepsFileProvider <T> depsFileProvider) { return(new DependencyContextJsonReader().Read(depsFileProvider.ProvideDepsFile(pluginLoadContext).Result)); }