@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260330.1 → 1.0.0-alpha.20260330.3
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/dist/generator/Azure.Generator.Management.deps.json +2 -2
- package/dist/generator/Azure.Generator.Management.dll +0 -0
- package/dist/generator/Azure.Generator.Management.pdb +0 -0
- package/dist/generator/Azure.Generator.Management.xml +33 -0
- package/dist/generator/net10.0/Azure.Generator.Management.deps.json +2 -2
- package/dist/generator/net10.0/Azure.Generator.Management.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.pdb +0 -0
- package/dist/generator/net10.0/Azure.Generator.Management.xml +33 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.Management/1.0.0-alpha.20260330.
|
|
9
|
+
"Azure.Generator.Management/1.0.0-alpha.20260330.3": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.52.0",
|
|
12
12
|
"Azure.Generator": "1.0.0-alpha.20260320.2",
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
}
|
|
695
695
|
},
|
|
696
696
|
"libraries": {
|
|
697
|
-
"Azure.Generator.Management/1.0.0-alpha.20260330.
|
|
697
|
+
"Azure.Generator.Management/1.0.0-alpha.20260330.3": {
|
|
698
698
|
"type": "project",
|
|
699
699
|
"serviceable": false,
|
|
700
700
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -558,6 +558,23 @@
|
|
|
558
558
|
This uses a simpler TypeProvider-based implementation without inheriting from CollectionResultDefinition.
|
|
559
559
|
</summary>
|
|
560
560
|
</member>
|
|
561
|
+
<member name="P:Azure.Generator.Management.Providers.InheritableSystemObjectModelProvider.IsSystemBase">
|
|
562
|
+
<summary>
|
|
563
|
+
True when this provider represents the system base type itself (e.g., TrackedResourceData).
|
|
564
|
+
False when it represents a derived model whose base type is a system type.
|
|
565
|
+
</summary>
|
|
566
|
+
</member>
|
|
567
|
+
<member name="M:Azure.Generator.Management.Providers.InheritableSystemObjectModelProvider.CreateSystemBase(System.Type,Microsoft.TypeSpec.Generator.Input.InputModelType)">
|
|
568
|
+
<summary>
|
|
569
|
+
Creates a provider representing the system base type itself (e.g., TrackedResource → TrackedResourceData).
|
|
570
|
+
</summary>
|
|
571
|
+
</member>
|
|
572
|
+
<member name="M:Azure.Generator.Management.Providers.InheritableSystemObjectModelProvider.CreateDerived(Microsoft.TypeSpec.Generator.Input.InputModelType,Microsoft.TypeSpec.Generator.Primitives.CSharpType)">
|
|
573
|
+
<summary>
|
|
574
|
+
Creates a provider for a model that extends an inheritable system type.
|
|
575
|
+
Overrides BuildBaseType() to return the correct framework CSharpType.
|
|
576
|
+
</summary>
|
|
577
|
+
</member>
|
|
561
578
|
<member name="M:Azure.Generator.Management.Providers.MockableArmClientProvider.TryCreate(System.Collections.Generic.IReadOnlyList{Azure.Generator.Management.Providers.ResourceClientProvider},System.Collections.Generic.IReadOnlyList{Azure.Generator.Management.Models.NonResourceMethod})">
|
|
562
579
|
<summary>
|
|
563
580
|
Creates a new instance of <see cref="T:Azure.Generator.Management.Providers.MockableArmClientProvider"/> if there are resources or non-resource methods to generate methods for.
|
|
@@ -823,6 +840,22 @@
|
|
|
823
840
|
<param name="targetInternalProperty">The internal property to look for in the chain</param>
|
|
824
841
|
<returns>True if the internal property is in the flattening chain</returns>
|
|
825
842
|
</member>
|
|
843
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FixSerializationReturnTypes(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
844
|
+
<summary>
|
|
845
|
+
Fixes the return type of serialization override methods (PersistableModelCreateCore,
|
|
846
|
+
JsonModelCreateCore) to use the system base type (e.g., ResourceData) instead of the
|
|
847
|
+
immediate parent type. Without this, the framework generates overrides with
|
|
848
|
+
model.Type.BaseType as the return type, which can produce a covariant return type
|
|
849
|
+
(e.g., returning CustomPatchBase instead of ResourceData). Covariant returns are not
|
|
850
|
+
supported on .NET Framework.
|
|
851
|
+
</summary>
|
|
852
|
+
</member>
|
|
853
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FindSystemBaseType(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
854
|
+
<summary>
|
|
855
|
+
Walks up the model hierarchy to find the system base type (e.g., ResourceData)
|
|
856
|
+
that the virtual serialization methods use as their return type.
|
|
857
|
+
</summary>
|
|
858
|
+
</member>
|
|
826
859
|
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.RemoveDuplicatePropertiesAndStripVirtual(Microsoft.TypeSpec.Generator.Providers.ModelProvider,Microsoft.TypeSpec.Generator.Providers.ModelProvider,System.Collections.Generic.HashSet{System.String})">
|
|
827
860
|
<summary>
|
|
828
861
|
Removes properties with 'new' modifier or matching base property names from the model,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.Management/1.0.0-alpha.20260330.
|
|
9
|
+
"Azure.Generator.Management/1.0.0-alpha.20260330.3": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.52.0",
|
|
12
12
|
"Azure.Generator": "1.0.0-alpha.20260320.2",
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
}
|
|
695
695
|
},
|
|
696
696
|
"libraries": {
|
|
697
|
-
"Azure.Generator.Management/1.0.0-alpha.20260330.
|
|
697
|
+
"Azure.Generator.Management/1.0.0-alpha.20260330.3": {
|
|
698
698
|
"type": "project",
|
|
699
699
|
"serviceable": false,
|
|
700
700
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -558,6 +558,23 @@
|
|
|
558
558
|
This uses a simpler TypeProvider-based implementation without inheriting from CollectionResultDefinition.
|
|
559
559
|
</summary>
|
|
560
560
|
</member>
|
|
561
|
+
<member name="P:Azure.Generator.Management.Providers.InheritableSystemObjectModelProvider.IsSystemBase">
|
|
562
|
+
<summary>
|
|
563
|
+
True when this provider represents the system base type itself (e.g., TrackedResourceData).
|
|
564
|
+
False when it represents a derived model whose base type is a system type.
|
|
565
|
+
</summary>
|
|
566
|
+
</member>
|
|
567
|
+
<member name="M:Azure.Generator.Management.Providers.InheritableSystemObjectModelProvider.CreateSystemBase(System.Type,Microsoft.TypeSpec.Generator.Input.InputModelType)">
|
|
568
|
+
<summary>
|
|
569
|
+
Creates a provider representing the system base type itself (e.g., TrackedResource → TrackedResourceData).
|
|
570
|
+
</summary>
|
|
571
|
+
</member>
|
|
572
|
+
<member name="M:Azure.Generator.Management.Providers.InheritableSystemObjectModelProvider.CreateDerived(Microsoft.TypeSpec.Generator.Input.InputModelType,Microsoft.TypeSpec.Generator.Primitives.CSharpType)">
|
|
573
|
+
<summary>
|
|
574
|
+
Creates a provider for a model that extends an inheritable system type.
|
|
575
|
+
Overrides BuildBaseType() to return the correct framework CSharpType.
|
|
576
|
+
</summary>
|
|
577
|
+
</member>
|
|
561
578
|
<member name="M:Azure.Generator.Management.Providers.MockableArmClientProvider.TryCreate(System.Collections.Generic.IReadOnlyList{Azure.Generator.Management.Providers.ResourceClientProvider},System.Collections.Generic.IReadOnlyList{Azure.Generator.Management.Models.NonResourceMethod})">
|
|
562
579
|
<summary>
|
|
563
580
|
Creates a new instance of <see cref="T:Azure.Generator.Management.Providers.MockableArmClientProvider"/> if there are resources or non-resource methods to generate methods for.
|
|
@@ -823,6 +840,22 @@
|
|
|
823
840
|
<param name="targetInternalProperty">The internal property to look for in the chain</param>
|
|
824
841
|
<returns>True if the internal property is in the flattening chain</returns>
|
|
825
842
|
</member>
|
|
843
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FixSerializationReturnTypes(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
844
|
+
<summary>
|
|
845
|
+
Fixes the return type of serialization override methods (PersistableModelCreateCore,
|
|
846
|
+
JsonModelCreateCore) to use the system base type (e.g., ResourceData) instead of the
|
|
847
|
+
immediate parent type. Without this, the framework generates overrides with
|
|
848
|
+
model.Type.BaseType as the return type, which can produce a covariant return type
|
|
849
|
+
(e.g., returning CustomPatchBase instead of ResourceData). Covariant returns are not
|
|
850
|
+
supported on .NET Framework.
|
|
851
|
+
</summary>
|
|
852
|
+
</member>
|
|
853
|
+
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.FindSystemBaseType(Microsoft.TypeSpec.Generator.Providers.ModelProvider)">
|
|
854
|
+
<summary>
|
|
855
|
+
Walks up the model hierarchy to find the system base type (e.g., ResourceData)
|
|
856
|
+
that the virtual serialization methods use as their return type.
|
|
857
|
+
</summary>
|
|
858
|
+
</member>
|
|
826
859
|
<member name="M:Azure.Generator.Management.Visitors.InheritableSystemObjectModelVisitor.RemoveDuplicatePropertiesAndStripVirtual(Microsoft.TypeSpec.Generator.Providers.ModelProvider,Microsoft.TypeSpec.Generator.Providers.ModelProvider,System.Collections.Generic.HashSet{System.String})">
|
|
827
860
|
<summary>
|
|
828
861
|
Removes properties with 'new' modifier or matching base property names from the model,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-typespec/http-client-csharp-mgmt",
|
|
3
|
-
"version": "1.0.0-alpha.20260330.
|
|
3
|
+
"version": "1.0.0-alpha.20260330.3",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting Azure management libraries for C#.",
|
|
6
6
|
"readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-mgmt/README.md",
|