s&box docs

public abstract interface Sandbox.ITypeAttribute

When applied to an attribute, which is then applied to a type.. This will make `Sandbox.ITypeAttribute.TargetType` set on the attribute upon load. This provides a convenient way to know which type the attribute was attached to.

Methods

Showing 2 methods

public virtual void TypeRegister()

Called when a class with this attribute is registered via the TypeLibrary.

public virtual void TypeUnregister()

Called when a class with this attribute is unregistered via the TypeLibrary.

Properties

Showing 1 properties

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.ITypeAttribute

On this page