NLua.CodeGeneration Class Reference

Public Member Functions

void GenerateClass (Type klass, out Type newType, out Type[][] returnTypes)
 
LuaEventHandler GetEvent (Type eventHandlerType, LuaFunction eventHandler)
 
void RegisterLuaDelegateType (Type delegateType, Type luaDelegateType)
 
void RegisterLuaClassType (Type klass, Type luaClass)
 
Delegate GetDelegate (Type delegateType, LuaFunction luaFunc)
 
object GetClassInstance (Type klass, LuaTable luaTable)
 

Properties

static CodeGeneration Instance [get]
 

Member Function Documentation

◆ GenerateClass()

void NLua.CodeGeneration.GenerateClass ( Type  klass,
out Type  newType,
out Type  returnTypes[][] 
)

◆ GetClassInstance()

object NLua.CodeGeneration.GetClassInstance ( Type  klass,
LuaTable  luaTable 
)

◆ GetDelegate()

Delegate NLua.CodeGeneration.GetDelegate ( Type  delegateType,
LuaFunction  luaFunc 
)

◆ GetEvent()

LuaEventHandler NLua.CodeGeneration.GetEvent ( Type  eventHandlerType,
LuaFunction  eventHandler 
)

◆ RegisterLuaClassType()

void NLua.CodeGeneration.RegisterLuaClassType ( Type  klass,
Type  luaClass 
)

◆ RegisterLuaDelegateType()

void NLua.CodeGeneration.RegisterLuaDelegateType ( Type  delegateType,
Type  luaDelegateType 
)

Property Documentation

◆ Instance

CodeGeneration NLua.CodeGeneration.Instance
staticget

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