* Generates a type that can be used for instantiating a delegate
* of the provided type, given a Lua function.
*/
privateTypeGenerateDelegate(TypedelegateType)
{
#if MONOTOUCH
thrownewNotImplementedException("GenerateDelegate is not available on iOS, please register your LuaDelegate type with Lua.RegisterLuaDelegateType( yourDelegate, theLuaDelegateHandler) ");
#elif SILVERLIGHT
thrownewNotImplementedException("GenerateDelegate is not available on Silverlight, please register your LuaDelegate type with Lua.RegisterLuaDelegateType( yourDelegate, theLuaDelegateHandler) ");
#elif NETFX_CORE
thrownewNotImplementedException("GenerateDelegate is not available on Windows Store, please register your LuaDelegate type with Lua.RegisterLuaDelegateType( yourDelegate, theLuaDelegateHandler) ");
* Generates a type that can be used for instantiating a delegate
* of the provided type, given a Lua function.
*/
privateTypeGenerateDelegate(TypedelegateType)
{
#if MONOTOUCH
thrownewNotImplementedException("GenerateDelegate is not available on iOS, please register your LuaDelegate type with Lua.RegisterLuaDelegateType( yourDelegate, theLuaDelegateHandler) ");
#elif SILVERLIGHT
thrownewNotImplementedException("GenerateDelegate is not available on Silverlight, please register your LuaDelegate type with Lua.RegisterLuaDelegateType( yourDelegate, theLuaDelegateHandler) ");
#elif NETFX_CORE
thrownewNotImplementedException("GenerateDelegate is not available on Windows Store, please register your LuaDelegate type with Lua.RegisterLuaDelegateType( yourDelegate, theLuaDelegateHandler) ");