Method | Description | |
---|---|---|
ClrFunction ( ) : System |
Initializes a new instance of the LuaSharp.ClrFunction class.
|
|
Dispose ( ) : void |
Releases all resource used by the LuaSharp.ClrFunction object. Call Dispose when you are finished using the LuaSharp.ClrFunction. The Dispose method leaves the LuaSharp.ClrFunction in an unusable state. After calling Dispose, you must release all references to the LuaSharp.ClrFunction so the garbage collector can reclaim the memory that the LuaSharp.ClrFunction was occupying. |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases all resource used by the LuaSharp.ClrFunction object. Call Dispose when you are finished using the LuaSharp.ClrFunction. The Dispose method leaves the LuaSharp.ClrFunction in an unusable state. After calling Dispose, you must release all references to the LuaSharp.ClrFunction so the garbage collector can reclaim the memory that the LuaSharp.ClrFunction was occupying. |
|
InvokeDispose ( ) : void |
Invokes the Dispose(bool) method, guarding against repeated disposes. This can be used to call Dispose(bool) from a finalizer if one is added to a class that inherits from this one. |
|
OnInvoke ( |
Called when the function should be invoked.
|
Method | Description | |
---|---|---|
Invoke ( |
Called when lua requests that the function is invoked.
|
protected abstract OnInvoke ( |
||
state | /// The Lua state that is calling the function. /// | |
args | object | /// The arguments that were passed to the function. /// |
return | object[] |