Implements critical capture, tweaks for integration tests.
All checks were successful
Build / Build (push) Successful in 48s
All checks were successful
Build / Build (push) Successful in 48s
This commit is contained in:
@@ -18,7 +18,7 @@ public static class LibraryLoader
|
||||
/// <summary>
|
||||
/// Loads plugins and creates a static library from them.
|
||||
/// </summary>
|
||||
public static LoadResult LoadPlugins(IEnumerable<Plugin> plugins)
|
||||
public static LoadResult LoadPlugins(IEnumerable<IPlugin> plugins)
|
||||
{
|
||||
var registry = new ScriptRegistry();
|
||||
var orderedPlugins = plugins.OrderBy(x => x.LoadOrder).ToList();
|
||||
@@ -39,7 +39,7 @@ public static class LibraryLoader
|
||||
return new LoadResult(registry, scriptResolver, staticLibrary);
|
||||
}
|
||||
|
||||
private static StaticLibraryImpl CreateStaticLibrary(IReadOnlyList<Plugin> plugins)
|
||||
private static StaticLibraryImpl CreateStaticLibrary(IReadOnlyList<IPlugin> plugins)
|
||||
{
|
||||
var resourceProviders = plugins.OfType<IResourceProvider>().ToList();
|
||||
var settings = resourceProviders.Select(x => x.Settings).LastOrDefault(x => x != null);
|
||||
|
||||
Reference in New Issue
Block a user