Class MoonSharpModuleMethodAttribute
In a module type, mark methods or fields with this attribute to have them exposed as module functions. Methods must have the signature "public static DynValue ...(ScriptExecutionContextCallbackArguments)". Fields must be static or const strings, with an anonymous Lua function inside.
See MoonSharpModuleAttribute for more information about modules.
Inheritance
System.Object
MoonSharpModuleMethodAttribute
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class MoonSharpModuleMethodAttribute : Attribute
Properties
Name
Gets or sets the name of the function in the module (defaults to member name)
Declaration
public string Name { get; set; }
Property Value
|
System.String
|