inversify
Version:
A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.
20 lines (19 loc) • 674 B
JavaScript
define(["require", "exports", "../utils/id"], function (require, exports, id_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Context = void 0;
var Context = (function () {
function Context(container) {
this.id = (0, id_1.id)();
this.container = container;
}
Context.prototype.addPlan = function (plan) {
this.plan = plan;
};
Context.prototype.setCurrentRequest = function (currentRequest) {
this.currentRequest = currentRequest;
};
return Context;
}());
exports.Context = Context;
});