Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
22 lines
771 B
Plaintext
22 lines
771 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.LazyServiceIdentifier = void 0;
|
|
const islazyServiceIdentifierSymbol = Symbol.for('@inversifyjs/common/islazyServiceIdentifier');
|
|
class LazyServiceIdentifier {
|
|
[islazyServiceIdentifierSymbol];
|
|
#buildServiceId;
|
|
constructor(buildServiceId) {
|
|
this.#buildServiceId = buildServiceId;
|
|
this[islazyServiceIdentifierSymbol] = true;
|
|
}
|
|
static is(value) {
|
|
return (typeof value === 'object' &&
|
|
value !== null &&
|
|
value[islazyServiceIdentifierSymbol] === true);
|
|
}
|
|
unwrap() {
|
|
return this.#buildServiceId();
|
|
}
|
|
}
|
|
exports.LazyServiceIdentifier = LazyServiceIdentifier;
|
|
//# sourceMappingURL=LazyServiceIdentifier.js.map |