ITypeAttributeclass

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.

objectITypeAttribute
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public abstract interface Sandbox.ITypeAttribute

Methods2

Showing 2 methods

public virtual void TypeRegister()PUBLICVIRTUAL

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

Returns:void

public virtual void TypeUnregister()PUBLICVIRTUAL

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

Returns:void

Properties1

Showing 1 properties

On this page