Language.Lua.LuaInterpreterExtensions Class Reference

Static Public Member Functions

static List< LuaValueEvaluateAll (List< Expr > exprList, LuaTable environment)
 This method replaces List.ConvertAll(), which isn't supported in WinRT.
 
static LuaValue ObjectToLuaValue (object o)
 Returns a LuaValue containing the object's value.
 
static object LuaValueToObject (LuaValue luaValue)
 

Member Function Documentation

◆ EvaluateAll()

static List< LuaValue > Language.Lua.LuaInterpreterExtensions.EvaluateAll ( List< Expr exprList,
LuaTable  environment 
)
inlinestatic

This method replaces List.ConvertAll(), which isn't supported in WinRT.

Returns
The list of evaluated expressions.
Parameters
exprListA list of expressions to evaluate.
environmentLua environment.

◆ LuaValueToObject()

static object Language.Lua.LuaInterpreterExtensions.LuaValueToObject ( LuaValue  luaValue)
inlinestatic

◆ ObjectToLuaValue()

static LuaValue Language.Lua.LuaInterpreterExtensions.ObjectToLuaValue ( object  o)
inlinestatic

Returns a LuaValue containing the object's value.

Returns
A LuaValue.
Parameters
oAn object of any standard type.

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