UNPKG

dino-core

Version:

A dependency injection framework for NodeJS applications

19 lines 608 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Command = void 0; const main_1 = require("../main"); /** * Provide a basic implementation of the behavioural Command pattern. * * Both EnvironmentConfiguration and ApplicationContext are automatically made * available to concrete classes */ class Command extends main_1.Component { constructor({ environment, applicationContext }) { super(); this.environment = environment; this.applicationContext = applicationContext; } } exports.Command = Command; //# sourceMappingURL=Command.js.map