@autorest/powershell 2.1.401 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.rush/temp/package-deps_build.json +213 -186
- package/.rush/temp/shrinkwrap-deps.json +322 -326
- package/autorest-configuration.md +60 -47
- package/dist/cmdlets/class.d.ts +21 -8
- package/dist/cmdlets/class.d.ts.map +1 -1
- package/dist/cmdlets/class.js +475 -151
- package/dist/cmdlets/class.js.map +1 -1
- package/dist/cmdlets/namespace.d.ts.map +1 -1
- package/dist/cmdlets/namespace.js +1 -0
- package/dist/cmdlets/namespace.js.map +1 -1
- package/dist/enums/namespace.d.ts.map +1 -1
- package/dist/enums/namespace.js +17 -10
- package/dist/enums/namespace.js.map +1 -1
- package/dist/generators/csproj.d.ts.map +1 -1
- package/dist/generators/csproj.js +2 -1
- package/dist/generators/csproj.js.map +1 -1
- package/dist/generators/gitignore.d.ts.map +1 -1
- package/dist/generators/gitignore.js +1 -0
- package/dist/generators/gitignore.js.map +1 -1
- package/dist/generators/nuspec.d.ts.map +1 -1
- package/dist/generators/nuspec.js +4 -3
- package/dist/generators/nuspec.js.map +1 -1
- package/dist/generators/psm1.d.ts.map +1 -1
- package/dist/generators/psm1.js +24 -15
- package/dist/generators/psm1.js.map +1 -1
- package/dist/generators/script-cmdlet.d.ts.map +1 -1
- package/dist/generators/script-cmdlet.js +1 -1
- package/dist/generators/script-cmdlet.js.map +1 -1
- package/dist/internal/name-inferrer.d.ts.map +1 -1
- package/dist/internal/name-inferrer.js +2 -0
- package/dist/internal/name-inferrer.js.map +1 -1
- package/dist/internal/project.d.ts +46 -5
- package/dist/internal/project.d.ts.map +1 -1
- package/dist/internal/project.js +72 -13
- package/dist/internal/project.js.map +1 -1
- package/dist/internal/state.d.ts +3 -2
- package/dist/internal/state.d.ts.map +1 -1
- package/dist/internal/state.js +3 -3
- package/dist/internal/state.js.map +1 -1
- package/dist/llcsharp/clientruntime.d.ts +5 -0
- package/dist/llcsharp/clientruntime.d.ts.map +1 -1
- package/dist/llcsharp/clientruntime.js +5 -0
- package/dist/llcsharp/clientruntime.js.map +1 -1
- package/dist/llcsharp/enums/enum.d.ts +2 -2
- package/dist/llcsharp/enums/enum.d.ts.map +1 -1
- package/dist/llcsharp/enums/enum.js +11 -10
- package/dist/llcsharp/enums/enum.js.map +1 -1
- package/dist/llcsharp/generator.d.ts +3 -3
- package/dist/llcsharp/generator.d.ts.map +1 -1
- package/dist/llcsharp/generator.js +4 -2
- package/dist/llcsharp/generator.js.map +1 -1
- package/dist/llcsharp/model/interface.d.ts +3 -2
- package/dist/llcsharp/model/interface.d.ts.map +1 -1
- package/dist/llcsharp/model/interface.js +68 -17
- package/dist/llcsharp/model/interface.js.map +1 -1
- package/dist/llcsharp/model/model-class-dictionary.d.ts.map +1 -1
- package/dist/llcsharp/model/model-class-dictionary.js +12 -6
- package/dist/llcsharp/model/model-class-dictionary.js.map +1 -1
- package/dist/llcsharp/model/model-class-json.d.ts.map +1 -1
- package/dist/llcsharp/model/model-class-json.js +20 -12
- package/dist/llcsharp/model/model-class-json.js.map +1 -1
- package/dist/llcsharp/model/model-class-serializer.d.ts +9 -21
- package/dist/llcsharp/model/model-class-serializer.d.ts.map +1 -1
- package/dist/llcsharp/model/model-class-serializer.js +21 -50
- package/dist/llcsharp/model/model-class-serializer.js.map +1 -1
- package/dist/llcsharp/model/model-class.d.ts +7 -4
- package/dist/llcsharp/model/model-class.d.ts.map +1 -1
- package/dist/llcsharp/model/model-class.js +147 -82
- package/dist/llcsharp/model/model-class.js.map +1 -1
- package/dist/llcsharp/model/namespace.d.ts +4 -4
- package/dist/llcsharp/model/namespace.d.ts.map +1 -1
- package/dist/llcsharp/model/namespace.js +40 -18
- package/dist/llcsharp/model/namespace.js.map +1 -1
- package/dist/llcsharp/model/property.d.ts +4 -4
- package/dist/llcsharp/model/property.d.ts.map +1 -1
- package/dist/llcsharp/model/property.js +9 -7
- package/dist/llcsharp/model/property.js.map +1 -1
- package/dist/llcsharp/operation/api-class.d.ts.map +1 -1
- package/dist/llcsharp/operation/api-class.js +24 -23
- package/dist/llcsharp/operation/api-class.js.map +1 -1
- package/dist/llcsharp/operation/method.d.ts +7 -5
- package/dist/llcsharp/operation/method.d.ts.map +1 -1
- package/dist/llcsharp/operation/method.js +157 -93
- package/dist/llcsharp/operation/method.js.map +1 -1
- package/dist/llcsharp/operation/namespace.js +2 -1
- package/dist/llcsharp/operation/namespace.js.map +1 -1
- package/dist/llcsharp/operation/parameter.d.ts +4 -4
- package/dist/llcsharp/operation/parameter.d.ts.map +1 -1
- package/dist/llcsharp/operation/parameter.js +7 -5
- package/dist/llcsharp/operation/parameter.js.map +1 -1
- package/dist/llcsharp/project.d.ts +4 -0
- package/dist/llcsharp/project.d.ts.map +1 -1
- package/dist/llcsharp/project.js +7 -2
- package/dist/llcsharp/project.js.map +1 -1
- package/dist/llcsharp/schema/Uuid.d.ts +2 -2
- package/dist/llcsharp/schema/Uuid.d.ts.map +1 -1
- package/dist/llcsharp/schema/Uuid.js.map +1 -1
- package/dist/llcsharp/schema/array.d.ts +3 -3
- package/dist/llcsharp/schema/array.d.ts.map +1 -1
- package/dist/llcsharp/schema/array.js +15 -8
- package/dist/llcsharp/schema/array.js.map +1 -1
- package/dist/llcsharp/schema/binary.d.ts +3 -3
- package/dist/llcsharp/schema/binary.d.ts.map +1 -1
- package/dist/llcsharp/schema/binary.js.map +1 -1
- package/dist/llcsharp/schema/boolean.d.ts +4 -4
- package/dist/llcsharp/schema/boolean.d.ts.map +1 -1
- package/dist/llcsharp/schema/boolean.js +1 -1
- package/dist/llcsharp/schema/boolean.js.map +1 -1
- package/dist/llcsharp/schema/byte-array.d.ts +3 -3
- package/dist/llcsharp/schema/byte-array.d.ts.map +1 -1
- package/dist/llcsharp/schema/byte-array.js +12 -2
- package/dist/llcsharp/schema/byte-array.js.map +1 -1
- package/dist/llcsharp/schema/char.d.ts +4 -4
- package/dist/llcsharp/schema/char.d.ts.map +1 -1
- package/dist/llcsharp/schema/char.js +3 -3
- package/dist/llcsharp/schema/char.js.map +1 -1
- package/dist/llcsharp/schema/date-time.d.ts +7 -7
- package/dist/llcsharp/schema/date-time.d.ts.map +1 -1
- package/dist/llcsharp/schema/date-time.js +4 -4
- package/dist/llcsharp/schema/date-time.js.map +1 -1
- package/dist/llcsharp/schema/date.d.ts +2 -2
- package/dist/llcsharp/schema/date.d.ts.map +1 -1
- package/dist/llcsharp/schema/date.js.map +1 -1
- package/dist/llcsharp/schema/duration.d.ts +5 -5
- package/dist/llcsharp/schema/duration.d.ts.map +1 -1
- package/dist/llcsharp/schema/duration.js +2 -2
- package/dist/llcsharp/schema/duration.js.map +1 -1
- package/dist/llcsharp/schema/enum.d.ts +2 -2
- package/dist/llcsharp/schema/enum.d.ts.map +1 -1
- package/dist/llcsharp/schema/enum.js +5 -3
- package/dist/llcsharp/schema/enum.js.map +1 -1
- package/dist/llcsharp/schema/extended-type-declaration.d.ts +2 -2
- package/dist/llcsharp/schema/extended-type-declaration.d.ts.map +1 -1
- package/dist/llcsharp/schema/integer.d.ts +4 -4
- package/dist/llcsharp/schema/integer.d.ts.map +1 -1
- package/dist/llcsharp/schema/integer.js +1 -1
- package/dist/llcsharp/schema/integer.js.map +1 -1
- package/dist/llcsharp/schema/object.d.ts +3 -3
- package/dist/llcsharp/schema/object.d.ts.map +1 -1
- package/dist/llcsharp/schema/object.js +25 -21
- package/dist/llcsharp/schema/object.js.map +1 -1
- package/dist/llcsharp/schema/password.d.ts +23 -0
- package/dist/llcsharp/schema/password.d.ts.map +1 -0
- package/dist/llcsharp/schema/password.js +89 -0
- package/dist/llcsharp/schema/password.js.map +1 -0
- package/dist/llcsharp/schema/primitive.d.ts +4 -4
- package/dist/llcsharp/schema/primitive.d.ts.map +1 -1
- package/dist/llcsharp/schema/primitive.js +7 -3
- package/dist/llcsharp/schema/primitive.js.map +1 -1
- package/dist/llcsharp/schema/schema-resolver.d.ts +4 -3
- package/dist/llcsharp/schema/schema-resolver.d.ts.map +1 -1
- package/dist/llcsharp/schema/schema-resolver.js +61 -64
- package/dist/llcsharp/schema/schema-resolver.js.map +1 -1
- package/dist/llcsharp/schema/string.d.ts +3 -3
- package/dist/llcsharp/schema/string.d.ts.map +1 -1
- package/dist/llcsharp/schema/string.js +14 -10
- package/dist/llcsharp/schema/string.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +23 -14
- package/dist/main.js.map +1 -1
- package/dist/models/model-extensions.d.ts +3 -2
- package/dist/models/model-extensions.d.ts.map +1 -1
- package/dist/models/model-extensions.js +195 -168
- package/dist/models/model-extensions.js.map +1 -1
- package/dist/module/module-class.d.ts +4 -2
- package/dist/module/module-class.d.ts.map +1 -1
- package/dist/module/module-class.js +67 -13
- package/dist/module/module-class.js.map +1 -1
- package/dist/module/module-namespace.d.ts +2 -2
- package/dist/module/module-namespace.d.ts.map +1 -1
- package/dist/module/module-namespace.js +3 -2
- package/dist/module/module-namespace.js.map +1 -1
- package/dist/plugins/add-azure-completers-v2.d.ts +3 -0
- package/dist/plugins/add-azure-completers-v2.d.ts.map +1 -0
- package/dist/plugins/{add-azure-completers.js → add-azure-completers-v2.js} +7 -5
- package/dist/plugins/add-azure-completers-v2.js.map +1 -0
- package/dist/plugins/create-commands-v2.d.ts +40 -0
- package/dist/plugins/create-commands-v2.d.ts.map +1 -0
- package/dist/plugins/{create-commands.js → create-commands-v2.js} +128 -78
- package/dist/plugins/create-commands-v2.js.map +1 -0
- package/dist/plugins/cs-namer-v2.d.ts +3 -0
- package/dist/plugins/cs-namer-v2.d.ts.map +1 -0
- package/dist/plugins/cs-namer-v2.js +230 -0
- package/dist/plugins/cs-namer-v2.js.map +1 -0
- package/dist/plugins/llcsharp-v2.d.ts +3 -0
- package/dist/plugins/llcsharp-v2.d.ts.map +1 -0
- package/dist/plugins/{llcsharp.js → llcsharp-v2.js} +3 -3
- package/dist/plugins/llcsharp-v2.js.map +1 -0
- package/dist/plugins/modifiers-v2.d.ts +3 -0
- package/dist/plugins/modifiers-v2.d.ts.map +1 -0
- package/dist/plugins/{modifiers.js → modifiers-v2.js} +151 -32
- package/dist/plugins/modifiers-v2.js.map +1 -0
- package/dist/plugins/plugin-create-inline-properties.d.ts +4 -0
- package/dist/plugins/plugin-create-inline-properties.d.ts.map +1 -0
- package/dist/plugins/plugin-create-inline-properties.js +356 -0
- package/dist/plugins/plugin-create-inline-properties.js.map +1 -0
- package/dist/plugins/plugin-tweak-m4-model.d.ts +3 -0
- package/dist/plugins/plugin-tweak-m4-model.d.ts.map +1 -0
- package/dist/plugins/plugin-tweak-m4-model.js +166 -0
- package/dist/plugins/plugin-tweak-m4-model.js.map +1 -0
- package/dist/plugins/plugin-tweak-model-azure-v2.d.ts +3 -0
- package/dist/plugins/plugin-tweak-model-azure-v2.d.ts.map +1 -0
- package/dist/plugins/plugin-tweak-model-azure-v2.js +169 -0
- package/dist/plugins/plugin-tweak-model-azure-v2.js.map +1 -0
- package/dist/plugins/plugin-tweak-model.d.ts +9 -0
- package/dist/plugins/plugin-tweak-model.d.ts.map +1 -0
- package/dist/plugins/plugin-tweak-model.js +572 -0
- package/dist/plugins/plugin-tweak-model.js.map +1 -0
- package/dist/plugins/powershell-v2.d.ts +3 -0
- package/dist/plugins/powershell-v2.d.ts.map +1 -0
- package/dist/plugins/{powershell.js → powershell-v2.js} +9 -4
- package/dist/plugins/powershell-v2.js.map +1 -0
- package/dist/plugins/{ps-namer.d.ts → ps-namer-v2.d.ts} +2 -2
- package/dist/plugins/ps-namer-v2.d.ts.map +1 -0
- package/dist/plugins/{ps-namer.js → ps-namer-v2.js} +64 -49
- package/dist/plugins/ps-namer-v2.js.map +1 -0
- package/dist/utils/PwshModel.d.ts +8 -0
- package/dist/utils/PwshModel.d.ts.map +1 -0
- package/dist/utils/PwshModel.js +17 -0
- package/dist/utils/PwshModel.js.map +1 -0
- package/dist/utils/command-operation.d.ts +51 -0
- package/dist/utils/command-operation.d.ts.map +1 -0
- package/dist/utils/command-operation.js +33 -0
- package/dist/utils/command-operation.js.map +1 -0
- package/dist/utils/components.d.ts +133 -0
- package/dist/utils/components.d.ts.map +1 -0
- package/dist/utils/components.js +100 -0
- package/dist/utils/components.js.map +1 -0
- package/dist/utils/extensions.d.ts +11 -0
- package/dist/utils/extensions.d.ts.map +1 -0
- package/dist/utils/extensions.js +16 -0
- package/dist/utils/extensions.js.map +1 -0
- package/dist/utils/http-definitions.d.ts +45 -0
- package/dist/utils/http-definitions.d.ts.map +1 -0
- package/dist/utils/http-definitions.js +47 -0
- package/dist/utils/http-definitions.js.map +1 -0
- package/dist/utils/http-operation.d.ts +8 -0
- package/dist/utils/http-operation.d.ts.map +1 -0
- package/dist/utils/http-operation.js +254 -0
- package/dist/utils/http-operation.js.map +1 -0
- package/dist/utils/info.d.ts +36 -0
- package/dist/utils/info.d.ts.map +1 -0
- package/dist/utils/info.js +36 -0
- package/dist/utils/info.js.map +1 -0
- package/dist/utils/model-state.d.ts +44 -0
- package/dist/utils/model-state.d.ts.map +1 -0
- package/dist/utils/model-state.js +206 -0
- package/dist/utils/model-state.js.map +1 -0
- package/dist/utils/powershell-comment.d.ts +2 -0
- package/dist/utils/powershell-comment.d.ts.map +1 -0
- package/dist/utils/powershell-comment.js +25 -0
- package/dist/utils/powershell-comment.js.map +1 -0
- package/dist/utils/programatic-operation.d.ts +20 -0
- package/dist/utils/programatic-operation.d.ts.map +1 -0
- package/dist/utils/programatic-operation.js +29 -0
- package/dist/utils/programatic-operation.js.map +1 -0
- package/dist/utils/resolve-conflicts.d.ts +7 -0
- package/dist/utils/resolve-conflicts.d.ts.map +1 -0
- package/dist/utils/resolve-conflicts.js +57 -0
- package/dist/utils/resolve-conflicts.js.map +1 -0
- package/dist/utils/schema.d.ts +116 -0
- package/dist/utils/schema.d.ts.map +1 -0
- package/dist/utils/schema.js +186 -0
- package/dist/utils/schema.js.map +1 -0
- package/dist/utils/security-scheme.d.ts +123 -0
- package/dist/utils/security-scheme.d.ts.map +1 -0
- package/dist/utils/security-scheme.js +119 -0
- package/dist/utils/security-scheme.js.map +1 -0
- package/dist/utils/uid.d.ts +2 -0
- package/dist/utils/uid.d.ts.map +1 -0
- package/dist/utils/uid.js +8 -0
- package/dist/utils/uid.js.map +1 -0
- package/package.json +22 -21
- package/resources/assets/build-module.ps1 +12 -15
- package/resources/assets/check-dependencies.ps1 +4 -14
- package/resources/assets/create-model-cmdlets.ps1 +157 -0
- package/resources/assets/custom/{readme.md → README.md} +7 -7
- package/resources/assets/docs/README.md +11 -0
- package/resources/assets/examples/{readme.md → README.md} +0 -0
- package/resources/assets/export-surface.ps1 +1 -11
- package/resources/assets/exports/{readme.md → README.md} +2 -2
- package/resources/assets/generate-help.ps1 +2 -12
- package/resources/assets/how-to.md +5 -5
- package/resources/assets/internal/{readme.md → README.md} +3 -3
- package/resources/assets/pack-module.ps1 +1 -11
- package/resources/assets/resources/{readme.md → README.md} +0 -0
- package/resources/assets/run-module.ps1 +3 -11
- package/resources/assets/test/{readme.md → README.md} +0 -0
- package/resources/assets/test/loadEnv.ps1 +1 -11
- package/resources/assets/test-module.ps1 +39 -24
- package/resources/assets/tools/Resources/{readme.md → README.md} +3 -2
- package/resources/assets/tools/Resources/docs/{readme.md → README.md} +1 -1
- package/resources/assets/tools/Resources/examples/{readme.md → README.md} +0 -0
- package/resources/assets/tools/Resources/how-to.md +5 -5
- package/resources/assets/tools/Resources/resources/{readme.md → README.md} +0 -0
- package/resources/assets/tools/Resources/test/{readme.md → README.md} +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Accounts.format.ps1xml +496 -0
- package/resources/modules/Az.Accounts/2.7.5/Accounts.generated.format.ps1xml +468 -0
- package/resources/modules/Az.Accounts/2.7.5/Accounts.types.ps1xml +303 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Az.Accounts.nuspec +5 -3
- package/resources/modules/Az.Accounts/2.7.5/Az.Accounts.psd1 +387 -0
- package/resources/modules/Az.Accounts/2.7.5/Az.Accounts.psm1 +375 -0
- package/resources/modules/Az.Accounts/2.7.5/AzSharedAlcAssemblies/Azure.Core.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/AzSharedAlcAssemblies/Azure.Identity.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/PreloadAssemblies → 2.7.5/AzSharedAlcAssemblies}/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/AzSharedAlcAssemblies/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/AzSharedAlcAssemblies/Microsoft.Identity.Client.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/AzSharedAlcAssemblies/System.Memory.Data.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/AzSharedAlcAssemblies/System.Text.Json.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Hyak.Common.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.ApplicationInsights.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.Common.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Authentication.ResourceManager.deps.json +945 -404
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/Microsoft.Azure.PowerShell.Cmdlets.Accounts.deps.json → 2.7.5/Microsoft.Azure.PowerShell.Authentication.deps.json} +906 -488
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Authentication.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/Microsoft.Azure.PowerShell.Authentication.deps.json → 2.7.5/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.deps.json} +301 -719
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Authenticators.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.Aks.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.Authorization.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.Compute.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.KeyVault.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.Monitor.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.Network.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.PolicyInsights.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Clients.Websites.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Cmdlets.Accounts.deps.json +2413 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml +3567 -1995
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Common.Share.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Azure.PowerShell.Common.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Storage.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Azure.PowerShell.Strategies.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.Rest.ClientRuntime.Azure.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/Microsoft.Rest.ClientRuntime.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.WindowsAzure.Storage.DataMovement.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/Microsoft.WindowsAzure.Storage.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PostImportScripts/LoadAuthenticators.ps1 +219 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Azure.Core.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Azure.Identity.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Microsoft.Azure.PowerShell.Authenticators.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Microsoft.Identity.Client.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/Newtonsoft.Json.12.0.3.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/PreloadAssemblies/Newtonsoft.Json.10.dll → 2.7.5/PreloadAssemblies/Newtonsoft.Json.dll} +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Buffers.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/PreloadAssemblies/System.Diagnostics.DiagnosticSource.4.0.4.0.dll → 2.7.5/PreloadAssemblies/System.Diagnostics.DiagnosticSource.dll} +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Memory.Data.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Memory.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Net.Http.WinHttpHandler.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Numerics.Vectors.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Private.ServiceModel.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Reflection.DispatchProxy.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/PreloadAssemblies/System.Runtime.CompilerServices.Unsafe.4.0.5.0.dll → 2.7.5/PreloadAssemblies/System.Runtime.CompilerServices.Unsafe.dll} +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Security.AccessControl.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Security.Cryptography.Cng.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Security.Permissions.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Security.Principal.Windows.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.ServiceModel.Primitives.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Text.Encodings.Web.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/PreloadAssemblies/System.Text.Json.dll +0 -0
- package/resources/modules/Az.Accounts/{1.8.1/PreloadAssemblies/System.Threading.Tasks.Extensions.4.2.0.0.dll → 2.7.5/PreloadAssemblies/System.Threading.Tasks.Extensions.dll} +0 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/PreloadAssemblies/System.Xml.ReaderWriter.dll +0 -0
- package/resources/modules/Az.Accounts/2.7.5/StartupScripts/AzError.ps1 +278 -0
- package/resources/modules/Az.Accounts/2.7.5/StartupScripts/InitializeAssemblyResolver.ps1 +234 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/[Content_Types].xml +1 -0
- package/resources/modules/Az.Accounts/{1.8.1 → 2.7.5}/_rels/.rels +2 -2
- package/resources/modules/Az.Accounts/2.7.5/en-US/about_az.help.txt +50 -0
- package/resources/modules/Az.Accounts/{1.8.1/package/services/metadata/core-properties/b4e383786e734eb49545960a9feff173.psmdcp → 2.7.5/package/services/metadata/core-properties/1aa0749a068a4238881858013f1a5b7f.psmdcp} +2 -2
- package/resources/psruntime/AsyncCommandRuntime.cs +4 -0
- package/resources/psruntime/AsyncOperationResponse.cs +10 -11
- package/resources/psruntime/BuildTime/Cmdlets/ExportFormatPs1xml.cs +3 -1
- package/resources/psruntime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +94 -87
- package/resources/psruntime/BuildTime/Cmdlets/ExportPsd1.cs +168 -102
- package/resources/psruntime/BuildTime/Cmdlets/ExportTestStub.cs +22 -11
- package/resources/psruntime/BuildTime/Cmdlets/GetScriptCmdlet.cs +2 -1
- package/resources/psruntime/BuildTime/MarkdownRenderer.cs +1 -8
- package/resources/psruntime/BuildTime/Models/PsHelpMarkdownOutputs.cs +33 -11
- package/resources/psruntime/BuildTime/Models/PsHelpTypes.cs +3 -0
- package/resources/psruntime/BuildTime/Models/PsMarkdownTypes.cs +17 -14
- package/resources/psruntime/BuildTime/Models/PsProxyOutputs.cs +111 -13
- package/resources/psruntime/BuildTime/Models/PsProxyTypes.cs +18 -3
- package/resources/psruntime/BuildTime/PsAttributes.cs +1 -1
- package/resources/psruntime/BuildTime/PsExtensions.cs +9 -0
- package/resources/psruntime/BuildTime/PsHelpers.cs +2 -1
- package/resources/psruntime/DictionaryExtensions.cs +8 -11
- package/resources/psruntime/EventDataExtensions.cs +1 -1
- package/resources/psruntime/MessageAttribute.cs +360 -0
- package/resources/psruntime/MessageAttributeHelper.cs +161 -0
- package/resources/psruntime/Properties/Resources.Designer.cs +5633 -0
- package/resources/psruntime/Properties/Resources.resx +1741 -0
- package/resources/psruntime/TypeConverterExtensions.cs +31 -10
- package/resources/runtime/csharp/client/Extensions.cs +7 -1
- package/resources/runtime/csharp/client/IAssociativeArray.cs +4 -1
- package/resources/runtime/csharp/client/UndeclaredResponseException.cs +10 -2
- package/resources/runtime/csharp/json/Customizations/IJsonSerializable.cs +21 -7
- package/resources/runtime/csharp/json/Nodes/JsonNumber.cs +5 -5
- package/resources/runtime/csharp/pipeline/ISendAsync.cs +7 -3
- package/resources/runtime/csharp/pipeline/PipelineMocking.cs +17 -9
- package/resources/utils/Unprotect-SecureString.ps1 +16 -0
- package/changelog.md +0 -4
- package/dist/llcsharp/enums/json-serializer.d.ts +0 -9
- package/dist/llcsharp/enums/json-serializer.d.ts.map +0 -1
- package/dist/llcsharp/enums/json-serializer.js +0 -41
- package/dist/llcsharp/enums/json-serializer.js.map +0 -1
- package/dist/llcsharp/model/model-class-xml.d.ts +0 -15
- package/dist/llcsharp/model/model-class-xml.d.ts.map +0 -1
- package/dist/llcsharp/model/model-class-xml.js +0 -145
- package/dist/llcsharp/model/model-class-xml.js.map +0 -1
- package/dist/plugins/add-azure-completers.d.ts +0 -3
- package/dist/plugins/add-azure-completers.d.ts.map +0 -1
- package/dist/plugins/add-azure-completers.js.map +0 -1
- package/dist/plugins/create-commands.d.ts +0 -38
- package/dist/plugins/create-commands.d.ts.map +0 -1
- package/dist/plugins/create-commands.js.map +0 -1
- package/dist/plugins/cs-namer.d.ts +0 -3
- package/dist/plugins/cs-namer.d.ts.map +0 -1
- package/dist/plugins/cs-namer.js +0 -203
- package/dist/plugins/cs-namer.js.map +0 -1
- package/dist/plugins/llcsharp.d.ts +0 -3
- package/dist/plugins/llcsharp.d.ts.map +0 -1
- package/dist/plugins/llcsharp.js.map +0 -1
- package/dist/plugins/modifiers.d.ts +0 -3
- package/dist/plugins/modifiers.d.ts.map +0 -1
- package/dist/plugins/modifiers.js.map +0 -1
- package/dist/plugins/powershell.d.ts +0 -3
- package/dist/plugins/powershell.d.ts.map +0 -1
- package/dist/plugins/powershell.js.map +0 -1
- package/dist/plugins/ps-namer.d.ts.map +0 -1
- package/dist/plugins/ps-namer.js.map +0 -1
- package/resources/assets/docs/readme.md +0 -11
- package/resources/modules/Az.Accounts/1.8.1/Accounts.format.ps1xml +0 -368
- package/resources/modules/Az.Accounts/1.8.1/Accounts.generated.format.ps1xml +0 -422
- package/resources/modules/Az.Accounts/1.8.1/Accounts.types.ps1xml +0 -281
- package/resources/modules/Az.Accounts/1.8.1/Az.Accounts.psd1 +0 -360
- package/resources/modules/Az.Accounts/1.8.1/Az.Accounts.psm1 +0 -339
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.ApplicationInsights.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Authentication.Abstractions.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Authentication.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Clients.ResourceManager.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Clients.Storage.Management.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Azure.PowerShell.Common.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/Microsoft.Rest.ClientRuntime.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/Azure.Core.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/Microsoft.IdentityModel.Clients.ActiveDirectory.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/System.Numerics.Vectors.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/System.Text.Encodings.Web.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/System.Text.Json.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/NetCoreAssemblies/System.Threading.Tasks.Extensions.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PostImportScripts/LoadAuthenticators.ps1 +0 -197
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/Azure.Core.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/Microsoft.Azure.PowerShell.Authenticators.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/Microsoft.IdentityModel.Clients.ActiveDirectory.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Buffers.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Diagnostics.DiagnosticSource.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Numerics.Vectors.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Private.ServiceModel.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Runtime.CompilerServices.Unsafe.4.0.4.0.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Runtime.CompilerServices.Unsafe.4.0.4.1.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.ServiceModel.Primitives.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Text.Encodings.Web.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Text.Json.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/PreloadAssemblies/System.Threading.Tasks.Extensions.4.3.1.0.dll +0 -0
- package/resources/modules/Az.Accounts/1.8.1/StartupScripts/AzError.ps1 +0 -256
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/*---------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
6
|
-
*--------------------------------------------------------------------------------------------*/
|
|
7
3
|
const linq_1 = require("@azure-tools/linq");
|
|
8
4
|
const codegen_csharp_1 = require("@azure-tools/codegen-csharp");
|
|
9
5
|
const exports_1 = require("../llcsharp/exports");
|
|
@@ -23,6 +19,7 @@ class ApiVersionModelExtensionsNamespace extends codegen_csharp_1.Namespace {
|
|
|
23
19
|
}
|
|
24
20
|
class ModelExtensionsNamespace extends codegen_csharp_1.Namespace {
|
|
25
21
|
constructor(parent, schemas, state, objectInitializer) {
|
|
22
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
26
23
|
super('Models', parent);
|
|
27
24
|
this.schemas = schemas;
|
|
28
25
|
this.state = state;
|
|
@@ -34,180 +31,210 @@ class ModelExtensionsNamespace extends codegen_csharp_1.Namespace {
|
|
|
34
31
|
const $this = this;
|
|
35
32
|
const resolver = (s, req) => this.resolver.resolveTypeDeclaration(s, req, state);
|
|
36
33
|
// Add typeconverters to model classes (partial)
|
|
37
|
-
for (const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
const td = this.resolver.resolveTypeDeclaration(schema, true, state);
|
|
42
|
-
if (td instanceof exports_1.ObjectImplementation) {
|
|
43
|
-
// it's a class object.
|
|
44
|
-
const className = td.schema.details.csharp.name;
|
|
45
|
-
const interfaceName = td.schema.details.csharp.interfaceName || '';
|
|
46
|
-
const converterClass = `${className}TypeConverter`;
|
|
47
|
-
if (this.findClassByName(className).length > 0) {
|
|
34
|
+
for (const schemaGroup of linq_1.values(schemas)) {
|
|
35
|
+
for (const schema of linq_1.values(schemaGroup)) {
|
|
36
|
+
if (!schema || (schema.language.csharp && schema.language.csharp.skip)) {
|
|
48
37
|
continue;
|
|
49
38
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
});
|
|
67
|
-
// if the model is supposed to be use 'by-reference' we should create an I*Reference interface for that
|
|
68
|
-
// and add that interface to the extension class
|
|
69
|
-
if (schema.details.csharp.byReference) {
|
|
70
|
-
const refInterface = `${interfaceName}_Reference`;
|
|
71
|
-
schema.details.csharp.referenceInterface = `${ns.fullName}.${refInterface}`;
|
|
72
|
-
const referenceInterface = new codegen_csharp_1.Interface(ns, refInterface, {
|
|
39
|
+
const td = this.resolver.resolveTypeDeclaration(schema, true, state);
|
|
40
|
+
if (td instanceof exports_1.ObjectImplementation) {
|
|
41
|
+
// it's a class object.
|
|
42
|
+
const className = ((_a = td.schema.language.csharp) === null || _a === void 0 ? void 0 : _a.name) || '';
|
|
43
|
+
const interfaceName = ((_b = td.schema.language.csharp) === null || _b === void 0 ? void 0 : _b.interfaceName) || '';
|
|
44
|
+
const converterClass = `${className}TypeConverter`;
|
|
45
|
+
if (this.findClassByName(className).length > 0) {
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
// get the actual full namespace for the schema
|
|
49
|
+
const fullname = ((_c = schema.language.csharp) === null || _c === void 0 ? void 0 : _c.namespace) || this.fullName;
|
|
50
|
+
const ns = this.subNamespaces[fullname] || this.add(new ApiVersionModelExtensionsNamespace(this.outputFolder, fullname));
|
|
51
|
+
ns.header = this.state.project.license;
|
|
52
|
+
// create the model extensions for each object model
|
|
53
|
+
// 2. A partial interface with the type converter attribute
|
|
54
|
+
const modelInterface = new codegen_csharp_1.Interface(ns, interfaceName, {
|
|
73
55
|
partial: true,
|
|
74
|
-
description:
|
|
56
|
+
description: (_d = td.schema.language.csharp) === null || _d === void 0 ? void 0 : _d.description,
|
|
75
57
|
fileName: `${interfaceName}.PowerShell` // make sure that the interface ends up in the same file as the class.
|
|
76
58
|
});
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
model.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
new codegen_csharp_1.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
new codegen_csharp_1.Parameter('destinationType', codegen_csharp_1.System.Type, { description: 'the <see cref="System.Type" /> to convert to' }),
|
|
137
|
-
new codegen_csharp_1.Parameter('formatProvider', codegen_csharp_1.System.IFormatProvider, { description: 'not used by this TypeConverter.' }),
|
|
138
|
-
new codegen_csharp_1.Parameter('ignoreCase', codegen_csharp_1.dotnet.Bool, { description: 'when set to <c>true</c>, will ignore the case when converting.' }),
|
|
139
|
-
],
|
|
140
|
-
description: 'Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider" /> and <see cref="ignoreCase" /> ',
|
|
141
|
-
returnsDescription: `an instance of <see cref="${className}" />, or <c>null</c> if there is no suitable conversion.`
|
|
142
|
-
}));
|
|
143
|
-
typeConverter.add(new codegen_csharp_1.Method('CanConvertFrom', codegen_csharp_1.dotnet.Bool, {
|
|
144
|
-
static: codegen_csharp_1.Modifier.Static,
|
|
145
|
-
parameters: [
|
|
146
|
-
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Dynamic, { description: `the <see cref="System.Object" /> instance to check if it can be converted to the <see cref="${className}" /> type.` }),
|
|
147
|
-
],
|
|
148
|
-
description: 'Determines if the converter can convert the <see cref="sourceValue"/> parameter to the <see cref="destinationType" /> parameter.',
|
|
149
|
-
returnsDescription: `<c>true</c> if the instance could be converted to a <see cref="${className}" /> type, otherwise <c>false</c> `
|
|
150
|
-
})).add(function* () {
|
|
151
|
-
yield codegen_csharp_1.If('null == sourceValue', codegen_csharp_1.Return(codegen_csharp_1.dotnet.True));
|
|
152
|
-
const t = new codegen_csharp_1.LocalVariable('type', codegen_csharp_1.System.Type, { initializer: 'sourceValue.GetType()' });
|
|
153
|
-
yield t.declarationStatement;
|
|
154
|
-
if (schema.details.default.uid === 'universal-parameter-type' || schema.details.csharp.byReference) {
|
|
155
|
-
yield '// we allow string conversion too.';
|
|
156
|
-
yield codegen_csharp_1.If(`${t.value} == typeof(${codegen_csharp_1.System.String})`, codegen_csharp_1.Return(codegen_csharp_1.dotnet.True));
|
|
59
|
+
modelInterface.add(new codegen_csharp_1.Attribute(powershell_declarations_1.TypeConverterAttribute, { parameters: [new codegen_csharp_1.LiteralExpression(`typeof(${converterClass})`)] }));
|
|
60
|
+
// 1. A partial class with the type converter attribute
|
|
61
|
+
const model = new codegen_csharp_1.Class(ns, className, undefined, {
|
|
62
|
+
partial: true,
|
|
63
|
+
description: (_e = td.schema.language.csharp) === null || _e === void 0 ? void 0 : _e.description,
|
|
64
|
+
fileName: `${className}.PowerShell`
|
|
65
|
+
});
|
|
66
|
+
// if the model is supposed to be use 'by-reference' we should create an I*Reference interface for that
|
|
67
|
+
// and add that interface to the extension class
|
|
68
|
+
if ((_f = schema.language.csharp) === null || _f === void 0 ? void 0 : _f.byReference) {
|
|
69
|
+
const refInterface = `${interfaceName}_Reference`;
|
|
70
|
+
schema.language.csharp.referenceInterface = `${ns.fullName}.${refInterface}`;
|
|
71
|
+
const referenceInterface = new codegen_csharp_1.Interface(ns, refInterface, {
|
|
72
|
+
partial: true,
|
|
73
|
+
description: `Reference for model ${fullname}`,
|
|
74
|
+
fileName: `${interfaceName}.PowerShell` // make sure that the interface ends up in the same file as the class.
|
|
75
|
+
});
|
|
76
|
+
referenceInterface.add(new codegen_csharp_1.Attribute(powershell_declarations_1.TypeConverterAttribute, { parameters: [new codegen_csharp_1.LiteralExpression(`typeof(${converterClass})`)] }));
|
|
77
|
+
referenceInterface.add(new codegen_csharp_1.InterfaceProperty('Id', codegen_csharp_1.dotnet.String, { setAccess: codegen_csharp_1.Access.Internal }));
|
|
78
|
+
model.interfaces.push(referenceInterface);
|
|
79
|
+
// add it to the generic reference type.
|
|
80
|
+
// referenceType = referenceType || this.CreateReferenceType();
|
|
81
|
+
// referenceType.interfaces.push(referenceInterface);
|
|
82
|
+
}
|
|
83
|
+
model.add(new codegen_csharp_1.Attribute(powershell_declarations_1.TypeConverterAttribute, { parameters: [new codegen_csharp_1.LiteralExpression(`typeof(${converterClass})`)] }));
|
|
84
|
+
model.add(new codegen_csharp_1.LambdaMethod('FromJsonString', modelInterface, new codegen_csharp_1.LiteralExpression(`FromJson(${exports_1.ClientRuntime.JsonNode.declaration}.Parse(jsonText))`), {
|
|
85
|
+
static: codegen_csharp_1.Modifier.Static,
|
|
86
|
+
parameters: [new codegen_csharp_1.Parameter('jsonText', codegen_csharp_1.dotnet.String, { description: 'a string containing a JSON serialized instance of this model.' })],
|
|
87
|
+
description: `Creates a new instance of <see cref="${(_g = td.schema.language.csharp) === null || _g === void 0 ? void 0 : _g.name}" />, deserializing the content from a json string.`,
|
|
88
|
+
returnsDescription: `an instance of the <see cref="${className}" /> model class.`
|
|
89
|
+
}));
|
|
90
|
+
model.add(new codegen_csharp_1.LambdaMethod('ToJsonString', codegen_csharp_1.dotnet.String, new codegen_csharp_1.LiteralExpression(`ToJson(${codegen_csharp_1.dotnet.Null}, ${exports_1.ClientRuntime.SerializationMode.IncludeAll})?.ToString()`), {
|
|
91
|
+
description: 'Serializes this instance to a json string.',
|
|
92
|
+
returnsDescription: 'a <see cref="System.String" /> containing this model serialized to JSON text.'
|
|
93
|
+
}));
|
|
94
|
+
if (this.state.project.addToString) {
|
|
95
|
+
// add partial OverrideToString method
|
|
96
|
+
const returnNow = new codegen_csharp_1.Parameter('returnNow', codegen_csharp_1.dotnet.Bool, { modifier: codegen_csharp_1.ParameterModifier.Ref, description: `/// set returnNow to true if you provide a customized OverrideToString function` });
|
|
97
|
+
const stringResult = new codegen_csharp_1.Parameter('stringResult', codegen_csharp_1.dotnet.String, { modifier: codegen_csharp_1.ParameterModifier.Ref, description: `/// instance serialized to a string, normally it is a Json` });
|
|
98
|
+
const overrideToStringMethod = new codegen_csharp_1.PartialMethod('OverrideToString', codegen_csharp_1.dotnet.Void, {
|
|
99
|
+
parameters: [stringResult, returnNow],
|
|
100
|
+
description: `<c>OverrideToString</c> will be called if it is implemented. Implement this method in a partial class to enable this behavior`
|
|
101
|
+
});
|
|
102
|
+
model.add(overrideToStringMethod);
|
|
103
|
+
// add ToString method
|
|
104
|
+
const toStringMethod = new codegen_csharp_1.Method(`ToString`, codegen_csharp_1.dotnet.String, {
|
|
105
|
+
override: codegen_csharp_1.Modifier.Override,
|
|
106
|
+
access: codegen_csharp_1.Access.Public
|
|
107
|
+
});
|
|
108
|
+
toStringMethod.add(function* () {
|
|
109
|
+
const skip = codegen_csharp_1.Local('returnNow', `${codegen_csharp_1.dotnet.False}`);
|
|
110
|
+
const result = codegen_csharp_1.Local('result', `global::System.String.Empty`);
|
|
111
|
+
yield skip.declarationStatement;
|
|
112
|
+
yield result.declarationStatement;
|
|
113
|
+
yield `${overrideToStringMethod.invoke(`ref ${result.value}`, `ref ${skip.value}`)};`;
|
|
114
|
+
yield codegen_csharp_1.If(`${skip}`, codegen_csharp_1.Return(`${result}`));
|
|
115
|
+
yield `return ToJsonString();`;
|
|
116
|
+
});
|
|
117
|
+
model.add(toStringMethod);
|
|
157
118
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
119
|
+
const hashDeseralizer = new exports_1.DeserializerPartialClass(model, modelInterface, codegen_csharp_1.System.Collections.IDictionary, 'Dictionary', schema, resolver).init();
|
|
120
|
+
const psDeseralizer = new exports_1.DeserializerPartialClass(model, modelInterface, powershell_declarations_1.PSObject, 'PSObject', schema, resolver).init();
|
|
121
|
+
// + static <interfaceType> FromJsonString(string json);
|
|
122
|
+
// + string ToJsonString()
|
|
123
|
+
// 3. A TypeConverter class
|
|
124
|
+
const typeConverter = new codegen_csharp_1.Class(ns, converterClass, powershell_declarations_1.PSTypeConverter, {
|
|
125
|
+
description: `A PowerShell PSTypeConverter to support converting to an instance of <see cref="${className}" />`,
|
|
126
|
+
fileName: `${className}.TypeConverter`
|
|
161
127
|
});
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
128
|
+
typeConverter.add(new codegen_csharp_1.LambdaMethod('CanConvertTo', codegen_csharp_1.dotnet.Bool, codegen_csharp_1.dotnet.False, {
|
|
129
|
+
override: codegen_csharp_1.Modifier.Override,
|
|
130
|
+
parameters: [
|
|
131
|
+
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Object, { description: 'the <see cref="System.Object"/> to convert from' }),
|
|
132
|
+
new codegen_csharp_1.Parameter('destinationType', codegen_csharp_1.System.Type, { description: 'the <see cref="System.Type" /> to convert to' })
|
|
133
|
+
],
|
|
134
|
+
description: 'Determines if the <paramref name="sourceValue" /> parameter can be converted to the <paramref name="destinationType" /> parameter',
|
|
135
|
+
returnsDescription: '<c>true</c> if the converter can convert the <paramref name="sourceValue" /> parameter to the <paramref name="destinationType" /> parameter, otherwise <c>false</c>',
|
|
136
|
+
}));
|
|
137
|
+
typeConverter.add(new codegen_csharp_1.LambdaMethod('ConvertTo', codegen_csharp_1.dotnet.Object, codegen_csharp_1.dotnet.Null, {
|
|
138
|
+
override: codegen_csharp_1.Modifier.Override,
|
|
139
|
+
parameters: [
|
|
140
|
+
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Object, { description: 'the <see cref="System.Object"/> to convert from' }),
|
|
141
|
+
new codegen_csharp_1.Parameter('destinationType', codegen_csharp_1.System.Type, { description: 'the <see cref="System.Type" /> to convert to' }),
|
|
142
|
+
new codegen_csharp_1.Parameter('formatProvider', codegen_csharp_1.System.IFormatProvider, { description: 'not used by this TypeConverter.' }),
|
|
143
|
+
new codegen_csharp_1.Parameter('ignoreCase', codegen_csharp_1.dotnet.Bool, { description: 'when set to <c>true</c>, will ignore the case when converting.' }),
|
|
144
|
+
], description: 'NotImplemented -- this will return <c>null</c>',
|
|
145
|
+
returnsDescription: 'will always return <c>null</c>.'
|
|
146
|
+
}));
|
|
147
|
+
typeConverter.add(new codegen_csharp_1.LambdaMethod('CanConvertFrom', codegen_csharp_1.dotnet.Bool, new codegen_csharp_1.LiteralExpression('CanConvertFrom(sourceValue)'), {
|
|
148
|
+
override: codegen_csharp_1.Modifier.Override,
|
|
149
|
+
parameters: [
|
|
150
|
+
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Object, { description: 'the <see cref="System.Object"/> to convert from' }),
|
|
151
|
+
new codegen_csharp_1.Parameter('destinationType', codegen_csharp_1.System.Type, { description: 'the <see cref="System.Type" /> to convert to' })
|
|
152
|
+
],
|
|
153
|
+
description: 'Determines if the converter can convert the <paramref name="sourceValue"/> parameter to the <paramref name="destinationType" /> parameter.',
|
|
154
|
+
returnsDescription: '<c>true</c> if the converter can convert the <paramref name="sourceValue"/> parameter to the <paramref name="destinationType" /> parameter, otherwise <c>false</c>.',
|
|
155
|
+
}));
|
|
156
|
+
typeConverter.add(new codegen_csharp_1.LambdaMethod('ConvertFrom', codegen_csharp_1.dotnet.Object, new codegen_csharp_1.LiteralExpression('ConvertFrom(sourceValue)'), {
|
|
157
|
+
override: codegen_csharp_1.Modifier.Override,
|
|
158
|
+
parameters: [
|
|
159
|
+
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Object, { description: 'the <see cref="System.Object"/> to convert from' }),
|
|
160
|
+
new codegen_csharp_1.Parameter('destinationType', codegen_csharp_1.System.Type, { description: 'the <see cref="System.Type" /> to convert to' }),
|
|
161
|
+
new codegen_csharp_1.Parameter('formatProvider', codegen_csharp_1.System.IFormatProvider, { description: 'not used by this TypeConverter.' }),
|
|
162
|
+
new codegen_csharp_1.Parameter('ignoreCase', codegen_csharp_1.dotnet.Bool, { description: 'when set to <c>true</c>, will ignore the case when converting.' }),
|
|
163
|
+
],
|
|
164
|
+
description: 'Converts the <paramref name="sourceValue" /> parameter to the <paramref name="destinationType" /> parameter using <paramref name="formatProvider" /> and <paramref name="ignoreCase" /> ',
|
|
165
|
+
returnsDescription: `an instance of <see cref="${className}" />, or <c>null</c> if there is no suitable conversion.`
|
|
166
|
+
}));
|
|
167
|
+
typeConverter.add(new codegen_csharp_1.Method('CanConvertFrom', codegen_csharp_1.dotnet.Bool, {
|
|
168
|
+
static: codegen_csharp_1.Modifier.Static,
|
|
169
|
+
parameters: [
|
|
170
|
+
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Dynamic, { description: `the <see cref="System.Object" /> instance to check if it can be converted to the <see cref="${className}" /> type.` }),
|
|
171
|
+
],
|
|
172
|
+
description: `Determines if the converter can convert the <paramref name="sourceValue"/> parameter to the <see cref="${className}"/> type.`,
|
|
173
|
+
returnsDescription: `<c>true</c> if the instance could be converted to a <see cref="${className}" /> type, otherwise <c>false</c> `
|
|
174
|
+
})).add(function* () {
|
|
175
|
+
var _a;
|
|
176
|
+
yield codegen_csharp_1.If('null == sourceValue', codegen_csharp_1.Return(codegen_csharp_1.dotnet.True));
|
|
177
|
+
const t = new codegen_csharp_1.LocalVariable('type', codegen_csharp_1.System.Type, { initializer: 'sourceValue.GetType()' });
|
|
178
|
+
yield t.declarationStatement;
|
|
179
|
+
if (schema.language.default.uid || ((_a = schema.language.csharp) === null || _a === void 0 ? void 0 : _a.byReference)) {
|
|
180
|
+
yield '// we allow string conversion too.';
|
|
181
|
+
yield codegen_csharp_1.If(`${t.value} == typeof(${codegen_csharp_1.System.String})`, codegen_csharp_1.Return(codegen_csharp_1.dotnet.True));
|
|
182
|
+
}
|
|
183
|
+
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(powershell_declarations_1.PSObject, t), function* () {
|
|
184
|
+
yield '// we say yest to PSObjects';
|
|
185
|
+
yield codegen_csharp_1.Return(codegen_csharp_1.dotnet.True);
|
|
186
|
+
});
|
|
187
|
+
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(codegen_csharp_1.System.Collections.IDictionary, t), function* () {
|
|
188
|
+
yield '// we say yest to Hashtables/dictionaries';
|
|
189
|
+
yield codegen_csharp_1.Return(codegen_csharp_1.dotnet.True);
|
|
190
|
+
});
|
|
191
|
+
yield codegen_csharp_1.Try(codegen_csharp_1.If('null != sourceValue.ToJsonString()', codegen_csharp_1.Return(codegen_csharp_1.dotnet.True)));
|
|
192
|
+
yield codegen_csharp_1.Catch(undefined, '// Not one of our objects');
|
|
193
|
+
yield codegen_csharp_1.Try(function* () {
|
|
194
|
+
const t = new codegen_csharp_1.LocalVariable('text', codegen_csharp_1.dotnet.String, { initializer: 'sourceValue.ToString()?.Trim()' });
|
|
195
|
+
yield t.declarationStatement;
|
|
196
|
+
yield codegen_csharp_1.Return(`${codegen_csharp_1.dotnet.True} == ${t.value}?.StartsWith("{") && ${codegen_csharp_1.dotnet.True} == ${t.value}?.EndsWith("}") && ${exports_1.ClientRuntime.JsonNode.Parse(t)}.Type == ${exports_1.ClientRuntime.JsonType.Object}`);
|
|
197
|
+
});
|
|
198
|
+
yield codegen_csharp_1.Catch(undefined, '// Doesn\'t look like it can be treated as JSON');
|
|
199
|
+
yield codegen_csharp_1.Return(codegen_csharp_1.dotnet.False);
|
|
165
200
|
});
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
201
|
+
typeConverter.add(new codegen_csharp_1.Method('ConvertFrom', modelInterface, {
|
|
202
|
+
static: codegen_csharp_1.Modifier.Static,
|
|
203
|
+
parameters: [
|
|
204
|
+
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Dynamic, {
|
|
205
|
+
description: `the value to convert into an instance of <see cref="${className}" />.`
|
|
206
|
+
}),
|
|
207
|
+
],
|
|
208
|
+
description: `Converts the <paramref name="sourceValue" /> parameter into an instance of <see cref="${className}" />`,
|
|
209
|
+
returnsDescription: `an instance of <see cref="${className}" />, or <c>null</c> if there is no suitable conversion.`
|
|
210
|
+
})).add(function* () {
|
|
211
|
+
var _a, _b;
|
|
212
|
+
// null begets null
|
|
213
|
+
yield codegen_csharp_1.If('null == sourceValue', codegen_csharp_1.Return(codegen_csharp_1.dotnet.Null));
|
|
214
|
+
const t = new codegen_csharp_1.LocalVariable('type', codegen_csharp_1.System.Type, { initializer: 'sourceValue.GetType()' });
|
|
170
215
|
yield t.declarationStatement;
|
|
171
|
-
|
|
216
|
+
if (($this.state.project.azure && schema.language.default.uid === 'universal-parameter-type') || ((_a = schema.language.csharp) === null || _a === void 0 ? void 0 : _a.byReference)) {
|
|
217
|
+
yield '// support direct string to id type conversion.';
|
|
218
|
+
yield codegen_csharp_1.If(`${t.value} == typeof(${codegen_csharp_1.System.String})`, function* () {
|
|
219
|
+
yield codegen_csharp_1.Return(`new ${className} { Id = sourceValue }`);
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
if ((_b = schema.language.csharp) === null || _b === void 0 ? void 0 : _b.byReference) {
|
|
223
|
+
yield '// if Id is present with by-reference schemas, just return the type with Id ';
|
|
224
|
+
yield codegen_csharp_1.Try(codegen_csharp_1.Return(`new ${className} { Id = sourceValue.Id }`));
|
|
225
|
+
yield codegen_csharp_1.Catch(undefined, '// Not an Id reference parameter');
|
|
226
|
+
}
|
|
227
|
+
// if the type can be assigned directly, do that
|
|
228
|
+
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(td, t), codegen_csharp_1.Return('sourceValue'));
|
|
229
|
+
// try using json first (either from string or toJsonString())
|
|
230
|
+
yield codegen_csharp_1.Try(codegen_csharp_1.Return(`${className}.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());`));
|
|
231
|
+
yield codegen_csharp_1.Catch(undefined, '// Unable to use JSON pattern');
|
|
232
|
+
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(powershell_declarations_1.PSObject, t), codegen_csharp_1.Return(`${className}.DeserializeFromPSObject(sourceValue)`));
|
|
233
|
+
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(codegen_csharp_1.System.Collections.IDictionary, t), codegen_csharp_1.Return(`${className}.DeserializeFromDictionary(sourceValue)`));
|
|
234
|
+
// null if not successful
|
|
235
|
+
yield codegen_csharp_1.Return(codegen_csharp_1.dotnet.Null);
|
|
172
236
|
});
|
|
173
|
-
|
|
174
|
-
yield codegen_csharp_1.Return(codegen_csharp_1.dotnet.False);
|
|
175
|
-
});
|
|
176
|
-
typeConverter.add(new codegen_csharp_1.Method('ConvertFrom', modelInterface, {
|
|
177
|
-
static: codegen_csharp_1.Modifier.Static,
|
|
178
|
-
parameters: [
|
|
179
|
-
new codegen_csharp_1.Parameter('sourceValue', codegen_csharp_1.dotnet.Dynamic, {
|
|
180
|
-
description: `the value to convert into an instance of <see cref="${className}" />.`
|
|
181
|
-
}),
|
|
182
|
-
],
|
|
183
|
-
description: 'Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider" /> and <see cref="ignoreCase" />',
|
|
184
|
-
returnsDescription: `an instance of <see cref="${className}" />, or <c>null</c> if there is no suitable conversion.`
|
|
185
|
-
})).add(function* () {
|
|
186
|
-
// null begets null
|
|
187
|
-
yield codegen_csharp_1.If('null == sourceValue', codegen_csharp_1.Return(codegen_csharp_1.dotnet.Null));
|
|
188
|
-
const t = new codegen_csharp_1.LocalVariable('type', codegen_csharp_1.System.Type, { initializer: 'sourceValue.GetType()' });
|
|
189
|
-
yield t.declarationStatement;
|
|
190
|
-
if (($this.state.project.azure && schema.details.default.uid === 'universal-parameter-type') || schema.details.csharp.byReference) {
|
|
191
|
-
yield '// support direct string to id type conversion.';
|
|
192
|
-
yield codegen_csharp_1.If(`${t.value} == typeof(${codegen_csharp_1.System.String})`, function* () {
|
|
193
|
-
yield codegen_csharp_1.Return(`new ${className} { Id = sourceValue }`);
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
if (schema.details.csharp.byReference) {
|
|
197
|
-
yield '// if Id is present with by-reference schemas, just return the type with Id ';
|
|
198
|
-
yield codegen_csharp_1.Try(codegen_csharp_1.Return(`new ${className} { Id = sourceValue.Id }`));
|
|
199
|
-
yield codegen_csharp_1.Catch(undefined, '// Not an Id reference parameter');
|
|
200
|
-
}
|
|
201
|
-
// if the type can be assigned directly, do that
|
|
202
|
-
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(td, t), codegen_csharp_1.Return('sourceValue'));
|
|
203
|
-
// try using json first (either from string or toJsonString())
|
|
204
|
-
yield codegen_csharp_1.Try(codegen_csharp_1.Return(`${className}.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());`));
|
|
205
|
-
yield codegen_csharp_1.Catch(undefined, '// Unable to use JSON pattern');
|
|
206
|
-
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(powershell_declarations_1.PSObject, t), codegen_csharp_1.Return(`${className}.DeserializeFromPSObject(sourceValue)`));
|
|
207
|
-
yield codegen_csharp_1.If(codegen_csharp_1.IsAssignableFrom(codegen_csharp_1.System.Collections.IDictionary, t), codegen_csharp_1.Return(`${className}.DeserializeFromDictionary(sourceValue)`));
|
|
208
|
-
// null if not successful
|
|
209
|
-
yield codegen_csharp_1.Return(codegen_csharp_1.dotnet.Null);
|
|
210
|
-
});
|
|
237
|
+
}
|
|
211
238
|
}
|
|
212
239
|
}
|
|
213
240
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-extensions.js","sourceRoot":"","sources":["../../models/model-extensions.ts"],"names":[],"mappings":";;AAAA;;;gGAGgG;AAChG,4CAA4E;AAC5E,gEAA6S;AAC7S,iDAAsI;AAEtI,iFAAwG;AACxG,+BAA4B;AAI5B,MAAM,kCAAmC,SAAQ,0BAAS;IAIxD,YAAoB,UAAkB,EAAmB,UAAkB,EAAE,iBAAyD;QACpI,KAAK,CAAC,UAAU,CAAC,CAAC;QADA,eAAU,GAAV,UAAU,CAAQ;QAAmB,eAAU,GAAV,UAAU,CAAQ;QAEzE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC9B,IAAI,CAAC,GAAG,CAAC,IAAI,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mQC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Class, ClassType, Field, Method, Namespace, Parameter, TypeDeclaration } from '@azure-tools/codegen-csharp';
|
|
2
2
|
import { State } from '../internal/state';
|
|
3
3
|
import { DeepPartial } from '@azure-tools/codegen';
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class NewModuleClass extends Class {
|
|
5
5
|
private readonly state;
|
|
6
6
|
TaskOfHttpResponseMessage: TypeDeclaration;
|
|
7
7
|
incomingSignalFunc: ClassType;
|
|
@@ -22,13 +22,15 @@ export declare class ModuleClass extends Class {
|
|
|
22
22
|
pGetEventData: Parameter;
|
|
23
23
|
pParameterSetName: Parameter;
|
|
24
24
|
pParameterSetNameWithDefault: Parameter;
|
|
25
|
+
pExtensibleParameters: Parameter;
|
|
25
26
|
pProcessRecordId: Parameter;
|
|
26
27
|
pException: Parameter;
|
|
27
28
|
fPipeline: Field;
|
|
28
29
|
fPipelineWithProxy: Field;
|
|
29
30
|
fHandler: Field;
|
|
30
31
|
fWebProxy: Field;
|
|
31
|
-
|
|
32
|
+
fUseProxy: Field;
|
|
33
|
+
constructor(namespace: Namespace, state: State, objectInitializer?: DeepPartial<NewModuleClass>);
|
|
32
34
|
createInitAndPipeline(namespace: Namespace): void;
|
|
33
35
|
createAzureInitAndPipeline(namespace: Namespace): void;
|
|
34
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-class.d.ts","sourceRoot":"","sources":["../../module/module-class.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module-class.d.ts","sourceRoot":"","sources":["../../module/module-class.ts"],"names":[],"mappings":"AAMA,OAAO,EAAiB,KAAK,EAAE,SAAS,EAAuB,KAAK,EAAqH,MAAM,EAAY,SAAS,EAAE,SAAS,EAA4F,eAAe,EAAkC,MAAM,6BAA6B,CAAC;AAGhZ,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,qBAAa,cAAe,SAAQ,KAAK;IAgEL,OAAO,CAAC,QAAQ,CAAC,KAAK;IA7DxD,yBAAyB,kBAAoE;IAG7F,kBAAkB,YAI6B;IAE/C,iBAAiB,YAU8B;IAE/C,sBAAsB,cAIpB;IAEF,QAAQ,YAGwC;IAEhD,UAAU,SAA4H;IACtI,oBAAoB,EAAG,MAAM,CAAC;IAE9B,eAAe,YAAsJ;IACrK,SAAS,YAA+I;IACxJ,MAAM,YAAiF;IACvF,gBAAgB,YAAiG;IACjH,sBAAsB,YAAiI;IAEvJ,cAAc,YAAmG;IACjH,cAAc,YAAqH;IAEnI,GAAG,YAA+E;IAClF,MAAM,YAAwH;IAC9H,aAAa,YAA8H;IAE3I,iBAAiB,YAAyG;IAC1H,4BAA4B,YAA0I;IACtK,qBAAqB,YAAqM;IAC1N,gBAAgB,YAAoH;IACpI,UAAU,YAAsH;IAGhI,SAAS,QAA6I;IACtJ,kBAAkB,QAA8K;IAChM,QAAQ,QAAiI;IACzI,SAAS,QAAsG;IAC/G,SAAS,QAAiF;gBAE9E,SAAS,EAAE,SAAS,EAAmB,KAAK,EAAE,KAAK,EAAE,iBAAiB,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC;IAoEhH,qBAAqB,CAAC,SAAS,EAAE,SAAS;IA0D1C,0BAA0B,CAAC,SAAS,EAAE,SAAS;CAwKhD"}
|