Show / Hide Table of Contents

Class LuaTypeExtensions

Extension methods to DataType

Inheritance
System.Object
LuaTypeExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class LuaTypeExtensions

Methods

CanHaveTypeMetatables(DataType)

Determines whether this data type can have type metatables.

Declaration
public static bool CanHaveTypeMetatables(this DataType type)
Parameters
DataType type

The type.

Returns
System.Boolean

ToErrorTypeString(DataType)

Converts the DataType to the string returned by the "type(...)" Lua function

Declaration
public static string ToErrorTypeString(this DataType type)
Parameters
DataType type

The type.

Returns
System.String

Exceptions
ScriptRuntimeException

The DataType is not a Lua type

ToLuaDebuggerString(DataType)

Converts the DataType to the string returned by the "type(...)" Lua function, with additional values to support debuggers

Declaration
public static string ToLuaDebuggerString(this DataType type)
Parameters
DataType type

The type.

Returns
System.String

Exceptions
ScriptRuntimeException

The DataType is not a Lua type

ToLuaTypeString(DataType)

Converts the DataType to the string returned by the "type(...)" Lua function

Declaration
public static string ToLuaTypeString(this DataType type)
Parameters
DataType type

The type.

Returns
System.String

Exceptions
ScriptRuntimeException

The DataType is not a Lua type

Back to top Built by Itinero, MIT licensed.