C# 클래스 ScriptNET.Runtime.ScriptContext

Base implementation of ScriptContext object
상속: IScriptContext
파일 보기 프로젝트 열기: Zepheus/Fiesta_Utils 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CreateScope ( ) : void

Creates new default nested scope

CreateScope ( IScriptScope scope ) : void

Replace existing scope with new one

GetFunctionDefinition ( string name ) : IInvokable

Finds function definition in current scope

GetItem ( string id, bool throwException ) : object
IsBreak ( ) : bool

Break state

IsContinue ( ) : bool

Continue state

IsReturn ( ) : bool

Return state

RemoveLocalScope ( ) : void

Remove Local Scope

ScriptContext ( ) : System

Creates new Script Context with Default scope

SetBreak ( bool val ) : void

Set break state of run-time

SetContinue ( bool val ) : void

Set continue state of run-time

SetItem ( string id, object value ) : void
SetReturn ( bool val ) : void

Set return state of run-time

메소드 상세

CreateScope() 공개 메소드

Creates new default nested scope
public CreateScope ( ) : void
리턴 void

CreateScope() 공개 메소드

Replace existing scope with new one
public CreateScope ( IScriptScope scope ) : void
scope IScriptScope
리턴 void

GetFunctionDefinition() 공개 메소드

Finds function definition in current scope
public GetFunctionDefinition ( string name ) : IInvokable
name string function name
리턴 IInvokable

GetItem() 공개 메소드

public GetItem ( string id, bool throwException ) : object
id string
throwException bool
리턴 object

IsBreak() 공개 메소드

Break state
public IsBreak ( ) : bool
리턴 bool

IsContinue() 공개 메소드

Continue state
public IsContinue ( ) : bool
리턴 bool

IsReturn() 공개 메소드

Return state
public IsReturn ( ) : bool
리턴 bool

RemoveLocalScope() 공개 메소드

Remove Local Scope
public RemoveLocalScope ( ) : void
리턴 void

ScriptContext() 공개 메소드

Creates new Script Context with Default scope
public ScriptContext ( ) : System
리턴 System

SetBreak() 공개 메소드

Set break state of run-time
public SetBreak ( bool val ) : void
val bool true or false
리턴 void

SetContinue() 공개 메소드

Set continue state of run-time
public SetContinue ( bool val ) : void
val bool true or false
리턴 void

SetItem() 공개 메소드

public SetItem ( string id, object value ) : void
id string
value object
리턴 void

SetReturn() 공개 메소드

Set return state of run-time
public SetReturn ( bool val ) : void
val bool true or false
리턴 void