Show / Hide Table of Contents

Class MoonSharpUserDataMetamethodAttribute

Marks a method as the handler of metamethods of a userdata type

Inheritance
System.Object
MoonSharpUserDataMetamethodAttribute
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class MoonSharpUserDataMetamethodAttribute : Attribute

Constructors

MoonSharpUserDataMetamethodAttribute(String)

Initializes a new instance of the MoonSharpUserDataMetamethodAttribute class.

Declaration
public MoonSharpUserDataMetamethodAttribute(string name)
Parameters
System.String name

The metamethod name (like '__div', '__ipairs', etc.)

Properties

Name

The metamethod name (like '__div', '__ipairs', etc.)

Declaration
public string Name { get; }
Property Value
System.String

Back to top Built by Itinero, MIT licensed.