nope/lib/module/BaseModule.injectable.ts
Martin Karkowski 9f44b24161 Updating lib
2021-11-12 08:57:03 +01:00

35 lines
975 B
TypeScript

/**
* @author Martin Karkowski
* @email m.karkowski@zema.de
* @create date 2020-10-12 17:54:08
* @modify date 2021-11-11 11:28:29
* @desc [description]
*/
import { inject, injectable } from "inversify";
import { DISPATCHER_INSTANCE } from "../symbols/identifiers";
import { INopeDispatcher } from "../types/nope/nopeDispatcher.interface";
import { INopeModule } from "../types/nope/nopeModule.interface";
import { NopeBaseModule } from "./BaseModule";
/**
* Base Implementation of a Module.
*
* The Module is used to share information and data. Although it implements the
* the Basic behavior to fullfill a given traget.
*
* @export
* @class BaseModule
* @implements {INopeModule}
*/
@injectable()
export class InjectableNopeBaseModule extends NopeBaseModule {
/**
* Creates an instance of BaseModule.
* @memberof InjectableNopeBaseModule
*/
constructor(@inject(DISPATCHER_INSTANCE) _dispatcher: INopeDispatcher) {
super(_dispatcher);
}
}