API ReferenceSandbox
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.
No results match this filter.
Properties
Showing 1 properties
public virtual System.Type Sandbox.ITypeAttribute.TargetType { get; set; }
The type this attribute was attached to.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.ITypeAttribute |