v3.24.0
Version: 3.24.0
Published: 2/6/2024
Change Set: e9a49c1
- In the
JsEngineSwitcher
class was added theAllowCurrentProperty
property (defaulttrue
) - In JavaScriptEngineSwitcher.Extensions.MsDependencyInjection:
AddJsEngineSwitcher(Action<IJsEngineSwitcher>)
andAddJsEngineSwitcher(IJsEngineSwitcher, Action<IJsEngineSwitcher>)
extension methods are replaced by new methods accordingly:AddJsEngineSwitcher(Action<JsEngineSwitcherOptions>)
andAddJsEngineSwitcher(IJsEngineSwitcher, Action<JsEngineSwitcherOptions>)
AllowCurrentProperty
property ofJsEngineSwitcherOptions
class allows to forbid usage of theJsEngineSwitcher.Current
property. This feature can be used to fix a error #115 “Concurrency issue when initializing JS engine switcher in startup”. Special thanks to Ville Häkli