Class CanonicalItemClass

Base class for canonical items that implements the CanonicalReceiver interface. That is, isCanonicalReceiver(CanonicalItemClass) === true.

Hierarchy

Constructors

Properties

canonFullyQualifiedResolver?: string

The type-prefixed canonical resolver of this class, set by the startup unit.

canonUnqualifiedResolver?: string

The unqualified canonical resolver of this class, set by the startup unit.

Accessors

Methods

  • Get the method with the given name from this class, bound to this class.

    Returns

    function

    Parameters

    • methodName: string

    Returns ((...args: any[]) => any)

      • (...args: any[]): any
      • Get the method with the given name from this class, bound to this class.

        Returns

        function

        Parameters

        • Rest ...args: any[]

        Returns any

  • Call the make() method on the global container.

    Type Parameters

    • T

    Parameters

    • target: any
    • Rest ...parameters: any[]

    Returns T

  • Get the unqualified canonical resolver of this class, if one has been set.

    Returns undefined | string

  • Get the fully-qualified canonical resolver of this class, if one has been set.

    Returns undefined | string

  • Sets the fully- and un-qualified canonical resolver strings. Intended for use by the Canonical unit.

    Parameters

    • fullyQualifiedResolver: string
    • unqualifiedResolver: string

    Returns void