An extension container.

Hierarchy

  • ExtensionContainer

Implements

Constructors

Accessors

  • get isInitialized(): boolean
  • Indicates that the container has been initialized. Adding new extensions is not possible.

    Returns boolean

Methods

  • Releases all related objects.

    Returns void

  • Initializes the extension container.

    Parameters

    Returns Promise<void>

  • 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.

    Returns

    An object that performs extensions of the specified type.

    Type Parameters

    Parameters

    • extension: string | (new (...params: unknown[]) => E)

      The type of extension to return the object for.

    • options: null | ExtensionExecutorOptions = null

      Additional options for the returned object.

    Returns IExtensionExecutor<E>

Generated using TypeDoc