Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DIModule

Hierarchy

  • DIModule

Index

Properties

diModules

diModules: ContainerModule[] = []

kernel

kernel: Container = new Container()

Methods

Private addModule

  • addModule(module: any): void
  • Parameters

    • module: any

    Returns void

Private bindHandler

  • bindHandler<THandler>(type: symbol, value: function, defaultBinding: object): void
  • Type parameters

    • THandler

    Parameters

    • type: symbol
    • value: function
        • (): THandler
        • Returns THandler

    • defaultBinding: object

    Returns void

Private bindHandlerWithOptions

  • bindHandlerWithOptions<THandler, TOption>(type: symbol, optionType: symbol, value: function, defaultBinding: object): void
  • Type parameters

    • THandler

    • TOption

    Parameters

    • type: symbol
    • optionType: symbol
    • value: function
        • (): THandler | TOption
        • Returns THandler | TOption

    • defaultBinding: object

    Returns void

init

  • Parameters

    Returns void

Generated using TypeDoc