(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "./Register", "./ServiceCollection"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var Register_1 = require("./Register");
    var ServiceCollection_1 = require("./ServiceCollection");
    function DISingleton(mockOrInject) {
        return function (target) {
            Register_1.Register({ scope: ServiceCollection_1.Scope.Global, mockOrInject: mockOrInject })(target);
        };
    }
    exports.default = DISingleton;
});
//# sourceMappingURL=DISingleton.js.map