API ReferenceSandbox
public class Sandbox.EventAttribute : System.Attribute
A generic event listener. You are probably looking for Sandbox.Event.* attributes.
Constructors
Showing 1 constructors
public EventAttribute(string eventName)
No results match this filter.
Properties
Showing 2 properties
public string Sandbox.EventAttribute.EventName { get; set; }
The internal event identifier.
public int Sandbox.EventAttribute.Priority { get; set; }
Events with lower numbers are run first. This defaults to 0, so setting it to -1 will mean your event will run before all other events that don't define it. Setting it to 1 would mean it'll run after all events that don't.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.EventAttribute |