C# Class JavaScriptEngineSwitcher.Extensions.MsDependencyInjection.JsEngineSwitcherServiceCollectionExtensions

Extension methods for adding the JS engine switcher in an IServiceCollection
ファイルを表示 Open project: Taritsyn/JavaScriptEngineSwitcher

Public Methods

Method Description
AddJsEngineSwitcher ( this services ) : JsEngineFactoryCollection

Adds a JS engine switcher to IServiceCollection

AddJsEngineSwitcher ( this services, Action configure ) : JsEngineFactoryCollection

Adds a JS engine switcher to IServiceCollection

Method Details

AddJsEngineSwitcher() public static method

Adds a JS engine switcher to IServiceCollection
public static AddJsEngineSwitcher ( this services ) : JsEngineFactoryCollection
services this The services available in the application
return JsEngineFactoryCollection

AddJsEngineSwitcher() public static method

Adds a JS engine switcher to IServiceCollection
public static AddJsEngineSwitcher ( this services, Action configure ) : JsEngineFactoryCollection
services this The services available in the application
configure Action The which need to be configured
return JsEngineFactoryCollection