C# Class MsieJavaScriptEngine.JsRt.JavaScriptContext.Scope

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

Méthodes publiques

Méthode 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 méthode

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

Scope() public méthode

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