ExtensionHost
Represents a host for managing and executing extensions within a program. This interface provides methods for adding, configuring, and executing extensions at different stages of the program's lifecycle.
Inheritors
Properties
Functions
Adds an extension to the host and returns the extension instance. The extension allows customization or extension of the host's functionality at various lifecycle stages such as setup, before draw, and after draw.
Adds an extension to the host and applies a configuration block to it. This method allows customization or extension of the host's functionality by invoking a user-defined configuration on the provided extension.
Adds an extension to the program that executes a user-defined block of code at a specified extension stage. The execution stage can be SETUP
, BEFORE_DRAW
, or AFTER_DRAW
. This method prevents nesting of extend
calls.