Language.Lua.LuaMethodFunction Class Reference

[PixelCrushers] This class wraps the Lua Interpreter's LuaFunction around a C# style method identified by its MethodInfo. More...

Inheritance diagram for Language.Lua.LuaMethodFunction:
Collaboration diagram for Language.Lua.LuaMethodFunction:

Public Member Functions

 LuaMethodFunction (object target, MethodInfo method)
 
LuaValue InvokeMethod (LuaValue[] args)
 
- Public Member Functions inherited from Language.Lua.LuaFunction
 LuaFunction (LuaFunc function)
 
override string GetTypeCode ()
 
LuaValue Invoke (LuaValue[] args)
 
- Public Member Functions inherited from Language.Lua.LuaValue
string GetTypeCode ()
 
virtual bool GetBooleanValue ()
 
bool Equals (LuaValue other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Properties

object Target [get, set]
 
MethodInfo Method [get, set]
 
- Properties inherited from Language.Lua.LuaFunction
LuaFunc Function [get, set]
 
override object Value [get]
 
- Properties inherited from Language.Lua.LuaValue
object Value [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Language.Lua.LuaValue
static LuaValue GetKeyValue (LuaValue baseValue, LuaValue key)
 

Detailed Description

[PixelCrushers] This class wraps the Lua Interpreter's LuaFunction around a C# style method identified by its MethodInfo.

Constructor & Destructor Documentation

◆ LuaMethodFunction()

Language.Lua.LuaMethodFunction.LuaMethodFunction ( object  target,
MethodInfo  method 
)
inline

Member Function Documentation

◆ InvokeMethod()

LuaValue Language.Lua.LuaMethodFunction.InvokeMethod ( LuaValue[]  args)
inline

Property Documentation

◆ Method

MethodInfo Language.Lua.LuaMethodFunction.Method
getset

◆ Target

object Language.Lua.LuaMethodFunction.Target
getset

The documentation for this class was generated from the following file: