Api Sandbox MethodArgumentsAttribute
class

MethodArgumentsAttribute

public class MethodArgumentsAttribute : Attribute

Specify the types of arguments a method should have. Typically used with event attributes to throw an exception if an event attribute is added to a method with incorrect arguments.

Constructors

MethodArgumentsAttribute(Type[] argumentTypes)

Properties

Name Type Description
ArgumentTypes Type[]
Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.MethodArgumentsAttribute