@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20260601.2 → 1.0.0-alpha.20260604.1

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.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260601.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260604.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.57.0",
12
12
  "Azure.Generator": "1.0.0-alpha.20260516.2",
@@ -729,7 +729,7 @@
729
729
  }
730
730
  },
731
731
  "libraries": {
732
- "Azure.Generator.Management/1.0.0-alpha.20260601.2": {
732
+ "Azure.Generator.Management/1.0.0-alpha.20260604.1": {
733
733
  "type": "project",
734
734
  "serviceable": false,
735
735
  "sha512": ""
@@ -950,6 +950,34 @@
950
950
  <param name="id"></param>
951
951
  <returns></returns>
952
952
  </member>
953
+ <member name="T:Azure.Generator.Management.Snippets.JsonResponseDeserialization">
954
+ <summary>
955
+ Builds AOT-safe inline JSON deserialization for framework collection response types
956
+ (e.g. <c>IDictionary&lt;string, BinaryData&gt;</c> produced from a TypeSpec <c>Record&lt;unknown&gt;</c>).
957
+ These types do not implement <see cref="T:System.ClientModel.Primitives.IPersistableModel`1"/>, so
958
+ <c>ModelReaderWriter.Read&lt;T&gt;</c> cannot be used; instead the JSON payload is parsed and the
959
+ collection is constructed with explicit <c>foreach</c> loops.
960
+ </summary>
961
+ </member>
962
+ <member name="M:Azure.Generator.Management.Snippets.JsonResponseDeserialization.IsInlineJsonDeserializable(Microsoft.TypeSpec.Generator.Primitives.CSharpType)">
963
+ <summary>
964
+ Returns <c>true</c> when <paramref name="type"/> is a framework collection (dictionary or list)
965
+ that must be deserialized with inline JSON rather than <c>ModelReaderWriter.Read&lt;T&gt;</c>.
966
+ </summary>
967
+ </member>
968
+ <member name="M:Azure.Generator.Management.Snippets.JsonResponseDeserialization.BuildDeserializeFromContent(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Expressions.ValueExpression,System.String,Microsoft.TypeSpec.Generator.Expressions.ValueExpression@)">
969
+ <summary>
970
+ Builds statements that parse <paramref name="content"/> (a <see cref="T:System.BinaryData"/> such as
971
+ <c>result.Content</c>) into a value of <paramref name="type"/>, exposing the result via
972
+ <paramref name="valueVariable"/>.
973
+ </summary>
974
+ </member>
975
+ <member name="M:Azure.Generator.Management.Snippets.JsonResponseDeserialization.BuildDeserializeFromRootElement(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Expressions.ValueExpression,System.String,Microsoft.TypeSpec.Generator.Expressions.ValueExpression@)">
976
+ <summary>
977
+ Builds statements that deserialize <paramref name="rootElement"/> (a <see cref="T:System.Text.Json.JsonElement"/>)
978
+ into a value of <paramref name="type"/>, guarding against a top-level JSON <c>null</c> body.
979
+ </summary>
980
+ </member>
953
981
  <member name="M:Azure.Generator.Management.Utilities.ArmResourceMetadataExtensions.CreateClientInfosMap(Azure.Generator.Management.Models.ArmResourceMetadata,Microsoft.TypeSpec.Generator.Providers.TypeProvider,System.Collections.Generic.IEnumerable{Azure.Generator.Management.Models.ResourceMethod})">
954
982
  <inheritdoc cref="M:Azure.Generator.Management.Utilities.ArmResourceMetadataExtensions.&lt;G&gt;$3BBD617C8A31A7C0E10A06384A9D1FA5.CreateClientInfosMap(Microsoft.TypeSpec.Generator.Providers.TypeProvider,System.Collections.Generic.IEnumerable{Azure.Generator.Management.Models.ResourceMethod})"/>
955
983
  </member>
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20260601.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20260604.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.57.0",
12
12
  "Azure.Generator": "1.0.0-alpha.20260516.2",
@@ -729,7 +729,7 @@
729
729
  }
730
730
  },
731
731
  "libraries": {
732
- "Azure.Generator.Management/1.0.0-alpha.20260601.2": {
732
+ "Azure.Generator.Management/1.0.0-alpha.20260604.1": {
733
733
  "type": "project",
734
734
  "serviceable": false,
735
735
  "sha512": ""
@@ -950,6 +950,34 @@
950
950
  <param name="id"></param>
951
951
  <returns></returns>
952
952
  </member>
953
+ <member name="T:Azure.Generator.Management.Snippets.JsonResponseDeserialization">
954
+ <summary>
955
+ Builds AOT-safe inline JSON deserialization for framework collection response types
956
+ (e.g. <c>IDictionary&lt;string, BinaryData&gt;</c> produced from a TypeSpec <c>Record&lt;unknown&gt;</c>).
957
+ These types do not implement <see cref="T:System.ClientModel.Primitives.IPersistableModel`1"/>, so
958
+ <c>ModelReaderWriter.Read&lt;T&gt;</c> cannot be used; instead the JSON payload is parsed and the
959
+ collection is constructed with explicit <c>foreach</c> loops.
960
+ </summary>
961
+ </member>
962
+ <member name="M:Azure.Generator.Management.Snippets.JsonResponseDeserialization.IsInlineJsonDeserializable(Microsoft.TypeSpec.Generator.Primitives.CSharpType)">
963
+ <summary>
964
+ Returns <c>true</c> when <paramref name="type"/> is a framework collection (dictionary or list)
965
+ that must be deserialized with inline JSON rather than <c>ModelReaderWriter.Read&lt;T&gt;</c>.
966
+ </summary>
967
+ </member>
968
+ <member name="M:Azure.Generator.Management.Snippets.JsonResponseDeserialization.BuildDeserializeFromContent(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Expressions.ValueExpression,System.String,Microsoft.TypeSpec.Generator.Expressions.ValueExpression@)">
969
+ <summary>
970
+ Builds statements that parse <paramref name="content"/> (a <see cref="T:System.BinaryData"/> such as
971
+ <c>result.Content</c>) into a value of <paramref name="type"/>, exposing the result via
972
+ <paramref name="valueVariable"/>.
973
+ </summary>
974
+ </member>
975
+ <member name="M:Azure.Generator.Management.Snippets.JsonResponseDeserialization.BuildDeserializeFromRootElement(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Expressions.ValueExpression,System.String,Microsoft.TypeSpec.Generator.Expressions.ValueExpression@)">
976
+ <summary>
977
+ Builds statements that deserialize <paramref name="rootElement"/> (a <see cref="T:System.Text.Json.JsonElement"/>)
978
+ into a value of <paramref name="type"/>, guarding against a top-level JSON <c>null</c> body.
979
+ </summary>
980
+ </member>
953
981
  <member name="M:Azure.Generator.Management.Utilities.ArmResourceMetadataExtensions.CreateClientInfosMap(Azure.Generator.Management.Models.ArmResourceMetadata,Microsoft.TypeSpec.Generator.Providers.TypeProvider,System.Collections.Generic.IEnumerable{Azure.Generator.Management.Models.ResourceMethod})">
954
982
  <inheritdoc cref="M:Azure.Generator.Management.Utilities.ArmResourceMetadataExtensions.&lt;G&gt;$3BBD617C8A31A7C0E10A06384A9D1FA5.CreateClientInfosMap(Microsoft.TypeSpec.Generator.Providers.TypeProvider,System.Collections.Generic.IEnumerable{Azure.Generator.Management.Models.ResourceMethod})"/>
955
983
  </member>
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.20260601.2",
3
+ "version": "1.0.0-alpha.20260604.1",
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",