MCPcopy Create free account
hub / github.com/ParallelTask/dinoloop / constructor

Method constructor

src/modules/core/dino.container.ts:57–64  ·  view source on GitHub ↗
(config: IDinoContainerConfig)

Source from the content-addressed store, hash-verified

55 private useRouterCb: IRouterCallBack;
56
57 constructor(config: IDinoContainerConfig) {
58 this.app = config.app;
59 this.baseUri = config.baseUri;
60 this.enableTaskContext = config.enableTaskContext;
61 this.useRouterCb = config.routerCallback;
62 this.diContainer = DIContainer.create(config.diContainer, config.diResolveCb);
63 this.routeTable = RouteTable.create();
64 }
65
66 // made public for unit test and not available on interface contract
67 resolve<T>(middleware: Function, dino: IDinoProperties): T {

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected