MethodAttributeclass

Marks a static method as callable from within a Doo script.

objectAttributeMethodAttribute
Namespace
global
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.Doo.MethodAttribute : System.Attribute

Constructors1

Showing 1 constructors

public MethodAttribute(string path)PUBLICCONSTRUCTOR

Creates a new `Sandbox.Doo.MethodAttribute` with the given method path.

ParameterTypeDescription
pathstring

Properties2

Showing 2 properties

public string Sandbox.Doo.MethodAttribute.CategoryName { get; set; }PUBLICGETSET

The category portion of the path, derived from the text before the first dot.

Returns:string

public string Sandbox.Doo.MethodAttribute.Path { get; set; }PUBLICGETSET

The fully qualified method path (e.g. "Log.Info").

Returns:string

On this page