Options
All
  • Public
  • Public/Protected
  • All
Menu

Create a module on the fly.

example

register an inline module

import {ContainerBuilder, ModuleBuilder} from "@tmorin/ceb-inversion-core"
const container = ContainerBuilder.get()
.module(ModuleBuilder.configure((registry) => {
registry.registerValue("greeting", "hello, World!")
}).build())
.build()

Hierarchy

  • ModuleBuilder

Index

Constructors

constructor

Properties

Private _configure

_configure: (registry: Registry) => any = ...

Type declaration

Private _dispose

_dispose: (registry: Registry) => any = ...

Type declaration

Methods

build

configure

dispose

Static get

Generated using TypeDoc