C# 클래스 MsieJavaScriptEngine.JsRt.JavaScriptContext.Scope

A scope automatically sets a context to current and resets the original context when disposed.
파일 보기 프로젝트 열기: klumsy/PowerShellJS

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the scope and sets the previous context to current.

Scope ( JavaScriptContext context ) : System

Initializes a new instance of the Scope struct.

메소드 상세

Dispose() 공개 메소드

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

Scope() 공개 메소드

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