Namespace Itinero.Profiles.Lua.Interop
Classes
|
Internal type used by AnonWrapper<T> for registration |
|
Wrapper which allows for easier management of userdata without registering a new userdata type - useful if a type which is not exposed to scripts but can be managed as a "black box" by scripts is desired. |
|
Member descriptor for indexer of array types |
|
A user data descriptor which aggregates multiple descriptors and tries dispatching members on them, in order. Used, for example, for objects implementing multiple interfaces but for which no descriptor is specifically registered. |
|
A collection of custom converters between MoonSharp types and CLR types. If a converter function is not specified or returns null, the standard conversion path applies. |
|
DelegateProxyFactory<TProxy, TTarget> Implementation of IProxyFactory taking two delegates for simple instancing of proxies. |
|
Helper extension methods used to simplify some parts of userdata descriptor implementations |
|
Class providing a simple descriptor for constant DynValues in userdata |
|
Class providing easier marshalling of CLR events. Handling is limited to a narrow range of handler signatures, which, however, covers in practice most of all available events. |
|
Class providing easier marshalling of CLR fields |
|
Class providing easier marshalling of CLR functions |
|
Collection of the standard policies to handle UserData type registrations.
Provided mostly for compile-time backward compatibility with old code.
See also : |
|
Class providing easier marshalling of CLR functions |
|
Forces a class member visibility to scripts. Can be used to hide public members or to expose non-public ones. |
|
ObjectCallbackMemberDescriptor Member descriptor which allows to define new members which behave similarly to class instance members |
|
OverloadedMethodMemberDescriptor Class providing easier marshalling of overloaded CLR functions |
|
Class providing easier marshalling of CLR properties |
|
Utility class which may be used to set properties on an object from values contained in a Lua table. Properties must be decorated with the MoonSharpPropertyAttribute. See PropertyTableAssigner<T> for a generic compile time type-safe version. |
|
Utility class which may be used to set properties on an object of type T, from values contained in a Lua table. Properties must be decorated with the MoonSharpPropertyAttribute. This is a generic version of PropertyTableAssigner. |
|
Data descriptor used for proxy objects |
|
StandardEnumUserDataDescriptor Standard descriptor for Enum values |
|
StandardGenericsUserDataDescriptor Standard user data descriptor used to instantiate generics. |
|
Standard descriptor for userdata types. |
|
ValueTypeDefaultCtorMemberDescriptor Member descriptor for the default constructor of value types. |
Structs
|
Class helping identifying special names found with reflection |
Interfaces
|
An interface for type descriptors having the ability to generate other descriptors on the fly. |
|
Common interface for property assigners - basically used for sub-assigners |
|
Interface for proxy objects (type unsafe version) |
|
IProxyFactory<TProxy, TTarget> Interface for proxy objects (type safe version) |
|
Interface used by MoonSharp to access objects of a given type from scripts. |
|
Interface used by standard descriptors to access members of a given type from scripts. |
|
As a convenience, every type deriving from IUserDataType is "self-described". That is, no descriptor is needed/generated and the object itself is used to describe the type for interop. See also UserData, IUserDataDescriptor and StandardUserDataDescriptor . |
Enums
|
Helps identifying a reflection special name |
|
|