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. More...
 
static LuaValue ObjectToLuaValue (object o)
 Returns a LuaValue containing the object's value. More...
 
static object LuaValueToObject (LuaValue luaValue)
 

Member Function Documentation

◆ EvaluateAll()

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

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)
static

◆ ObjectToLuaValue()

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

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: