/// <summary> /// Initializes a new instance of the <see cref="PluginAssemblyLoadContext"/> class. /// </summary> /// <param name="resolverProxy">The resolver proxy.</param> public PluginAssemblyLoadContext(IAssemblyDependencyResolverProxy resolverProxy) : base(isCollectible: true) { _resolver = resolverProxy; this.Unloading += PluginsLoadContext_Unloading; }