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
26 lines
859 B
Plaintext
26 lines
859 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.buildDefaultManagedMetadata = buildDefaultManagedMetadata;
|
|
const ClassElementMetadataKind_1 = require("../models/ClassElementMetadataKind");
|
|
function buildDefaultManagedMetadata(kind, serviceIdentifier, options) {
|
|
if (kind === ClassElementMetadataKind_1.ClassElementMetadataKind.multipleInjection) {
|
|
return {
|
|
chained: options?.chained ?? false,
|
|
kind,
|
|
name: undefined,
|
|
optional: false,
|
|
tags: new Map(),
|
|
value: serviceIdentifier,
|
|
};
|
|
}
|
|
else {
|
|
return {
|
|
kind,
|
|
name: undefined,
|
|
optional: false,
|
|
tags: new Map(),
|
|
value: serviceIdentifier,
|
|
};
|
|
}
|
|
}
|
|
//# sourceMappingURL=buildDefaultManagedMetadata.js.map |