Api Sandbox ITypeAttribute
interface

ITypeAttribute

public interface ITypeAttribute

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

Properties

Name Type Description
TargetType virtual Type The type this attribute was attached to.

Methods

virtual Void TypeRegister()

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

virtual Void TypeUnregister()

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

Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.ITypeAttribute