C# 클래스 Scorpio.Script

파일 보기 프로젝트 열기: qingfeng346/Scorpio-CSharp 1 사용 예제들

공개 메소드들

메소드 설명
Call ( String strName ) : object
Call ( String strName, ScriptObject args ) : object
ClearStackInfo ( ) : void
ContainDefine ( string define ) : bool
ContainsFastReflectClass ( Type type ) : bool
CreateArray ( ) : ScriptArray
CreateBool ( bool value ) : ScriptBoolean
CreateDouble ( double value ) : ScriptNumber
CreateFunction ( ScorpioHandle value ) : ScriptFunction
CreateObject ( object value ) : ScriptObject
CreateString ( string value ) : ScriptString
CreateTable ( ) : ScriptTable
CreateUserdata ( object obj ) : ScriptUserdata
GetCurrentStackInfo ( ) : StackInfo
GetDelegate ( Type type ) : ScriptUserdata
GetEnum ( Type type ) : ScriptUserdata
GetFastReflectClass ( Type type ) : IScorpioFastReflectClass
GetGlobalTable ( ) : ScriptTable
GetScorpioType ( Type type ) : UserdataType
GetStackInfo ( ) : string
GetType ( string str ) : Type
GetValue ( string key ) : ScriptObject
HasValue ( String key ) : bool
LoadBuffer ( String strBreviary, byte buffer ) : ScriptObject
LoadBuffer ( String strBreviary, byte buffer, Encoding encoding ) : ScriptObject
LoadBuffer ( byte buffer ) : ScriptObject
LoadExtension ( Type type ) : void
LoadExtension ( string type ) : void
LoadFile ( String strFileName ) : ScriptObject
LoadFile ( String fileName, Encoding encoding ) : ScriptObject
LoadLibrary ( ) : void
LoadSearchPathFile ( String fileName ) : ScriptObject
LoadString ( String strBuffer ) : ScriptObject
LoadString ( String strBreviary, String strBuffer ) : ScriptObject
LoadTokens ( List tokens ) : ScriptObject
LoadTokens ( String strBreviary, List tokens ) : ScriptObject
LoadType ( string str ) : ScriptObject
PushAssembly ( Assembly assembly ) : void
PushDefine ( string define ) : void
PushFastReflectClass ( Type type, IScorpioFastReflectClass value ) : void
PushSearchPath ( string path ) : void
Script ( ) : System
SetObject ( string key, object value ) : void

비공개 메소드들

메소드 설명
Load ( String strBreviary, List tokens, ScriptContext context ) : ScriptObject
LoadString ( String strBreviary, String strBuffer, ScriptContext context, bool clearStack ) : ScriptObject
PopStackInfo ( ) : void
PushStackInfo ( ) : void
SetObjectInternal ( string key, ScriptObject value ) : void
SetStackInfo ( StackInfo info ) : void

메소드 상세

Call() 공개 메소드

public Call ( String strName ) : object
strName String
리턴 object

Call() 공개 메소드

public Call ( String strName, ScriptObject args ) : object
strName String
args ScriptObject
리턴 object

ClearStackInfo() 공개 메소드

public ClearStackInfo ( ) : void
리턴 void

ContainDefine() 공개 메소드

public ContainDefine ( string define ) : bool
define string
리턴 bool

ContainsFastReflectClass() 공개 메소드

public ContainsFastReflectClass ( Type type ) : bool
type System.Type
리턴 bool

CreateArray() 공개 메소드

public CreateArray ( ) : ScriptArray
리턴 ScriptArray

CreateBool() 공개 메소드

public CreateBool ( bool value ) : ScriptBoolean
value bool
리턴 ScriptBoolean

CreateDouble() 공개 메소드

public CreateDouble ( double value ) : ScriptNumber
value double
리턴 ScriptNumber

CreateFunction() 공개 메소드

public CreateFunction ( ScorpioHandle value ) : ScriptFunction
value ScorpioHandle
리턴 ScriptFunction

CreateObject() 공개 메소드

public CreateObject ( object value ) : ScriptObject
value object
리턴 ScriptObject

CreateString() 공개 메소드

public CreateString ( string value ) : ScriptString
value string
리턴 ScriptString

CreateTable() 공개 메소드

public CreateTable ( ) : ScriptTable
리턴 ScriptTable

CreateUserdata() 공개 메소드

public CreateUserdata ( object obj ) : ScriptUserdata
obj object
리턴 ScriptUserdata

GetCurrentStackInfo() 공개 메소드

public GetCurrentStackInfo ( ) : StackInfo
리턴 StackInfo

GetDelegate() 공개 메소드

public GetDelegate ( Type type ) : ScriptUserdata
type Type
리턴 ScriptUserdata

GetEnum() 공개 메소드

public GetEnum ( Type type ) : ScriptUserdata
type Type
리턴 ScriptUserdata

GetFastReflectClass() 공개 메소드

public GetFastReflectClass ( Type type ) : IScorpioFastReflectClass
type Type
리턴 IScorpioFastReflectClass

GetGlobalTable() 공개 메소드

public GetGlobalTable ( ) : ScriptTable
리턴 ScriptTable

GetScorpioType() 공개 메소드

public GetScorpioType ( Type type ) : UserdataType
type Type
리턴 UserdataType

GetStackInfo() 공개 메소드

public GetStackInfo ( ) : string
리턴 string

GetType() 공개 메소드

public GetType ( string str ) : Type
str string
리턴 Type

GetValue() 공개 메소드

public GetValue ( string key ) : ScriptObject
key string
리턴 ScriptObject

HasValue() 공개 메소드

public HasValue ( String key ) : bool
key String
리턴 bool

LoadBuffer() 공개 메소드

public LoadBuffer ( String strBreviary, byte buffer ) : ScriptObject
strBreviary String
buffer byte
리턴 ScriptObject

LoadBuffer() 공개 메소드

public LoadBuffer ( String strBreviary, byte buffer, Encoding encoding ) : ScriptObject
strBreviary String
buffer byte
encoding Encoding
리턴 ScriptObject

LoadBuffer() 공개 메소드

public LoadBuffer ( byte buffer ) : ScriptObject
buffer byte
리턴 ScriptObject

LoadExtension() 공개 메소드

public LoadExtension ( Type type ) : void
type Type
리턴 void

LoadExtension() 공개 메소드

public LoadExtension ( string type ) : void
type string
리턴 void

LoadFile() 공개 메소드

public LoadFile ( String strFileName ) : ScriptObject
strFileName String
리턴 ScriptObject

LoadFile() 공개 메소드

public LoadFile ( String fileName, Encoding encoding ) : ScriptObject
fileName String
encoding Encoding
리턴 ScriptObject

LoadLibrary() 공개 메소드

public LoadLibrary ( ) : void
리턴 void

LoadSearchPathFile() 공개 메소드

public LoadSearchPathFile ( String fileName ) : ScriptObject
fileName String
리턴 ScriptObject

LoadString() 공개 메소드

public LoadString ( String strBuffer ) : ScriptObject
strBuffer String
리턴 ScriptObject

LoadString() 공개 메소드

public LoadString ( String strBreviary, String strBuffer ) : ScriptObject
strBreviary String
strBuffer String
리턴 ScriptObject

LoadTokens() 공개 메소드

public LoadTokens ( List tokens ) : ScriptObject
tokens List
리턴 ScriptObject

LoadTokens() 공개 메소드

public LoadTokens ( String strBreviary, List tokens ) : ScriptObject
strBreviary String
tokens List
리턴 ScriptObject

LoadType() 공개 메소드

public LoadType ( string str ) : ScriptObject
str string
리턴 ScriptObject

PushAssembly() 공개 메소드

public PushAssembly ( Assembly assembly ) : void
assembly Assembly
리턴 void

PushDefine() 공개 메소드

public PushDefine ( string define ) : void
define string
리턴 void

PushFastReflectClass() 공개 메소드

public PushFastReflectClass ( Type type, IScorpioFastReflectClass value ) : void
type Type
value IScorpioFastReflectClass
리턴 void

PushSearchPath() 공개 메소드

public PushSearchPath ( string path ) : void
path string
리턴 void

Script() 공개 메소드

public Script ( ) : System
리턴 System

SetObject() 공개 메소드

public SetObject ( string key, object value ) : void
key string
value object
리턴 void