C# Class JavaScriptEngineSwitcher.ChakraCore.JsRt.JsScope

The scope automatically sets a context to current and resets the original context when disposed
ファイルを表示 Open project: Taritsyn/JavaScriptEngineSwitcher

Public Methods

Method Description
Dispose ( ) : void

Disposes the scope and sets the previous context to current

JsScope ( JsContext context ) : System

Initializes a new instance of the JsScope struct

Method Details

Dispose() public method

Disposes the scope and sets the previous context to current
public Dispose ( ) : void
return void

JsScope() public method

Initializes a new instance of the JsScope struct
public JsScope ( JsContext context ) : System
context JsContext The context to create the scope for
return System