Documentation
    Preparing search index...

    Class DIContainer

    Index

    Constructors

    Properties

    instances: Record<string, Record<string, BaseObject>> = {}
    overrides: Record<string, BaseClass> = {}

    Methods

    • creates property key string for index in records

      Parameters

      • Optionalprops: any

        anything really

      Returns string

    • get instance of Class/Override that was used with setClass with optional props

      Type Parameters

      Parameters

      • Original: BaseClass<T>

        the class to search for in DIContainer

      • ...props: any[]

        the optional props for constructor of instance

      Returns T

    • stringify anything or return {} if not possible

      Parameters

      • Optionalprops: any

        anything really

      Returns string