C# Class MsieJavaScriptEngine.JsRt.JavaScriptContext.Scope

A scope automatically sets a context to current and resets the original context when disposed.
Mostrar archivo Open project: klumsy/PowerShellJS

Public Methods

Method Description
Dispose ( ) : void

Disposes the scope and sets the previous context to current.

Scope ( JavaScriptContext context ) : System

Initializes a new instance of the Scope struct.

Method Details

Dispose() public method

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

Scope() public method

Initializes a new instance of the Scope struct.
public Scope ( JavaScriptContext context ) : System
context JavaScriptContext The context to create the scope for.
return System