api-management-developer-po.../scaffolds/widget/widget.runtime.module.ts

11 строки
390 B
TypeScript
Исходник Обычный вид История

import { IInjector, IInjectorModule } from "@paperbits/common/injection";
import { WidgetRuntime } from "./ko/runtime/widget-runtime";
/**
* Inversion of control module that registers runtime-time dependencies.
*/
export class WidgetRuntimeModule implements IInjectorModule {
public register(injector: IInjector): void {
injector.bind("widgetRuntime", WidgetRuntime);
}
}