@autorest/powershell
Version:
AutoRest PowerShell Cmdlet Generator
24 lines • 1.2 kB
JavaScript
;
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ServiceNamespace = void 0;
const codegen_csharp_1 = require("@azure-tools/codegen-csharp");
const codegen_csharp_2 = require("@azure-tools/codegen-csharp");
const clientruntime_1 = require("../clientruntime");
class ServiceNamespace extends codegen_csharp_2.Namespace {
constructor(state, objectInitializer) {
var _a;
super((_a = state.model.language.csharp) === null || _a === void 0 ? void 0 : _a.namespace, state.project);
this.state = state;
this.apply(objectInitializer);
this.add(new codegen_csharp_1.ImportDirective(`static ${clientruntime_1.ClientRuntime.Extensions}`));
}
get outputFolder() {
return '';
}
}
exports.ServiceNamespace = ServiceNamespace;
//# sourceMappingURL=namespace.js.map