import { Injector } from "https://deno.land/x/danet@1.3.1/src/mod.ts";
Properties
private
availableTypes: Map<InjectableConstructor, boolean>private
logger: Loggerprivate
resolved: Map<Constructor | string, (ctx?: HttpContext) => Promise<unknown> | unknown>Methods
private
executeOnAppBoostrapHook(Controllers?: ControllerConstructor[], injectables?: Array<InjectableConstructor | TokenInjector>)private
getDependencies(Type: Constructor): Constructor[]private
getParamToken(Type: Constructor, paramIndex: number)private
resolveControllerDependencies<T>(Type: Constructor<T>)private
resolveDependencies(Dependencies: Constructor[], ParentConstructor: Constructor)private
resolveInjectable(Type: InjectableConstructor | TokenInjector, ParentConstructor?: Constructor)private
setNonSingleton()addAvailableInjectable(injectables: InjectableConstructor[])
bootstrap(ModuleType: ModuleConstructor)
get<T>(Type: Constructor<T> | string, ctx?: HttpContext): T
getAll()
has<T>(Type: Constructor<T> | string): boolean
registerInjectables(Injectables: Array<InjectableConstructor | TokenInjector>)
resolveControllers(Controllers: ControllerConstructor[])