Readonly
isIndicates that the container has been initialized. Adding new extensions is not possible.
Readonly
parentParent extension container.
Creates child extension container.
Releases all related objects.
Returns registered extensions list with specified type.
Type of extensions.
Initializes the extension container.
Initialization context.
DI container.
Registers a specific extension in the container.
Registration parameters.
The extension that needs to be registered in the container.
Optional
extensionName?: stringИмя регистрируемого расширения.
Optional
extensionType?: stringТип регистрируемого расширения.
Optional
order?: numberThe order of execution, taking into account the type of extension and the stage of execution.
Optional
singleton?: booleanA flag indicating the lifetime of an instance of extensions.
Optional
stage?: ExtensionStageThe stage of the extension execution in the extension chain.
Optional
when?: Function or array of functions that accept the context of extension execution and allowing extensions to be performed only under certain conditions. If `true', then the lifetime of the extension instance will coincide with the lifetime of the container.
The current extension container.
Returns an object that performs extensions of the specified type. The method never returns `null'. If the extension type has not been registered in the container, then the method does not throw an exception, but returns an object that does not perform actions.
The type of extension to return the object for.
Optional
options: null | ExtensionExecutorOptionsAdditional options for the returned object.
An object that performs extensions of the specified type.
An extension container.