C# 클래스 Rhino.TopLevel

상속: IdScriptableObject
파일 보기 프로젝트 열기: hazzik/Rhino.Net 1 사용 예제들

공개 메소드들

메소드 설명
CacheBuiltins ( ) : void

Cache the built-in ECMAScript objects to protect them against modifications by the script.

Cache the built-in ECMAScript objects to protect them against modifications by the script. This method is called automatically by ScriptRuntime.initStandardObjects if the scope argument is an instance of this class. It only has to be called by the embedding if a top-level scope is not initialized through initStandardObjects().

GetBuiltinCtor ( TopLevel type ) : BaseFunction

Get the cached built-in object constructor from this scope with the given type.

Get the cached built-in object constructor from this scope with the given type. Returns null if CacheBuiltins() has not been called on this object.

GetBuiltinCtor ( Context cx, Scriptable scope, TopLevel type ) : Function

Static helper method to get a built-in object constructor with the given type from the given scope.

Static helper method to get a built-in object constructor with the given type from the given scope. If the scope is not an instance of this class or does have a cache of built-ins, the constructor is looked up via normal property lookup.

GetBuiltinPrototype ( Scriptable scope, TopLevel type ) : Scriptable

Static helper method to get a built-in object prototype with the given type from the given scope.

Static helper method to get a built-in object prototype with the given type from the given scope. If the scope is not an instance of this class or does have a cache of built-ins, the prototype is looked up via normal property lookup.

GetBuiltinPrototype ( TopLevel type ) : Scriptable

Get the cached built-in object prototype from this scope with the given type.

Get the cached built-in object prototype from this scope with the given type. Returns null if CacheBuiltins() has not been called on this object.

GetClassName ( ) : string

메소드 상세

CacheBuiltins() 공개 메소드

Cache the built-in ECMAScript objects to protect them against modifications by the script.
Cache the built-in ECMAScript objects to protect them against modifications by the script. This method is called automatically by ScriptRuntime.initStandardObjects if the scope argument is an instance of this class. It only has to be called by the embedding if a top-level scope is not initialized through initStandardObjects().
public CacheBuiltins ( ) : void
리턴 void

GetBuiltinCtor() 공개 메소드

Get the cached built-in object constructor from this scope with the given type.
Get the cached built-in object constructor from this scope with the given type. Returns null if CacheBuiltins() has not been called on this object.
public GetBuiltinCtor ( TopLevel type ) : BaseFunction
type TopLevel the built-in type
리턴 BaseFunction

GetBuiltinCtor() 공개 정적인 메소드

Static helper method to get a built-in object constructor with the given type from the given scope.
Static helper method to get a built-in object constructor with the given type from the given scope. If the scope is not an instance of this class or does have a cache of built-ins, the constructor is looked up via normal property lookup.
public static GetBuiltinCtor ( Context cx, Scriptable scope, TopLevel type ) : Function
cx Context the current Context
scope Scriptable the top-level scope
type TopLevel the built-in type
리턴 Function

GetBuiltinPrototype() 공개 정적인 메소드

Static helper method to get a built-in object prototype with the given type from the given scope.
Static helper method to get a built-in object prototype with the given type from the given scope. If the scope is not an instance of this class or does have a cache of built-ins, the prototype is looked up via normal property lookup.
public static GetBuiltinPrototype ( Scriptable scope, TopLevel type ) : Scriptable
scope Scriptable the top-level scope
type TopLevel the built-in type
리턴 Scriptable

GetBuiltinPrototype() 공개 메소드

Get the cached built-in object prototype from this scope with the given type.
Get the cached built-in object prototype from this scope with the given type. Returns null if CacheBuiltins() has not been called on this object.
public GetBuiltinPrototype ( TopLevel type ) : Scriptable
type TopLevel the built-in type
리턴 Scriptable

GetClassName() 공개 메소드

public GetClassName ( ) : string
리턴 string