@azure-typespec/http-client-csharp 1.0.0-alpha.20260709.4 → 1.0.0-alpha.20260710.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.StubLibrary.deps.json +6 -6
- package/dist/generator/Azure.Generator.StubLibrary.dll +0 -0
- package/dist/generator/Azure.Generator.StubLibrary.pdb +0 -0
- package/dist/generator/Azure.Generator.deps.json +2 -2
- package/dist/generator/Azure.Generator.dll +0 -0
- package/dist/generator/Azure.Generator.pdb +0 -0
- package/dist/generator/Azure.Generator.xml +32 -0
- package/dist/generator/net10.0/Azure.Generator.StubLibrary.deps.json +6 -6
- package/dist/generator/net10.0/Azure.Generator.StubLibrary.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.StubLibrary.pdb +0 -0
- package/dist/generator/net10.0/Azure.Generator.deps.json +2 -2
- package/dist/generator/net10.0/Azure.Generator.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.pdb +0 -0
- package/dist/generator/net10.0/Azure.Generator.xml +32 -0
- package/package.json +1 -1
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20260710.3": {
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
11
|
+
"Azure.Generator": "1.0.0-alpha.20260710.3",
|
|
12
12
|
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260709.13",
|
|
13
13
|
"System.ClientModel": "1.14.0"
|
|
14
14
|
},
|
|
@@ -711,7 +711,7 @@
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
},
|
|
714
|
-
"Azure.Generator/1.0.0-alpha.
|
|
714
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
715
715
|
"dependencies": {
|
|
716
716
|
"Azure.Core": "1.60.0",
|
|
717
717
|
"Azure.Core.Expressions.DataFactory": "1.0.0",
|
|
@@ -721,14 +721,14 @@
|
|
|
721
721
|
"runtime": {
|
|
722
722
|
"Azure.Generator.dll": {
|
|
723
723
|
"assemblyVersion": "1.0.0.0",
|
|
724
|
-
"fileVersion": "1.0.26.
|
|
724
|
+
"fileVersion": "1.0.26.36003"
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
},
|
|
730
730
|
"libraries": {
|
|
731
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.
|
|
731
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20260710.3": {
|
|
732
732
|
"type": "project",
|
|
733
733
|
"serviceable": false,
|
|
734
734
|
"sha512": ""
|
|
@@ -1069,7 +1069,7 @@
|
|
|
1069
1069
|
"path": "system.security.cryptography.protecteddata/8.0.0",
|
|
1070
1070
|
"hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
|
|
1071
1071
|
},
|
|
1072
|
-
"Azure.Generator/1.0.0-alpha.
|
|
1072
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
1073
1073
|
"type": "project",
|
|
1074
1074
|
"serviceable": false,
|
|
1075
1075
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.60.0",
|
|
12
12
|
"Azure.Core.Expressions.DataFactory": "1.0.0",
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
}
|
|
716
716
|
},
|
|
717
717
|
"libraries": {
|
|
718
|
-
"Azure.Generator/1.0.0-alpha.
|
|
718
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
719
719
|
"type": "project",
|
|
720
720
|
"serviceable": false,
|
|
721
721
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -209,6 +209,12 @@
|
|
|
209
209
|
<see cref="T:Azure.Identity.ConfigurationExtensions"/>, filling in the client and settings type parameters.
|
|
210
210
|
</summary>
|
|
211
211
|
</member>
|
|
212
|
+
<member name="T:Azure.Generator.Visitors.AzureDistributedTracingVisitor">
|
|
213
|
+
<summary>
|
|
214
|
+
Azure-specific distributed tracing visitor that handles paging methods
|
|
215
|
+
returning <see cref="T:Azure.Pageable`1"/> or <see cref="T:Azure.AsyncPageable`1"/>.
|
|
216
|
+
</summary>
|
|
217
|
+
</member>
|
|
212
218
|
<member name="T:Azure.Generator.Visitors.ClientRequestIdHeaderVisitor">
|
|
213
219
|
<summary>
|
|
214
220
|
Visitor that modifies service methods to set the `client-request-id`, `x-ms-client-request-id`, and `return-client-request-id` headers.
|
|
@@ -231,7 +237,33 @@
|
|
|
231
237
|
<member name="T:Azure.Generator.Visitors.DistributedTracingVisitor">
|
|
232
238
|
<summary>
|
|
233
239
|
Visitor that adds distributed tracing support to generated client code.
|
|
240
|
+
Uses constructor injection to support both Azure.Core and System.ClientModel types.
|
|
241
|
+
</summary>
|
|
242
|
+
</member>
|
|
243
|
+
<member name="M:Azure.Generator.Visitors.DistributedTracingVisitor.#ctor(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Primitives.CSharpType)">
|
|
244
|
+
<summary>
|
|
245
|
+
Creates a new instance of <see cref="T:Azure.Generator.Visitors.DistributedTracingVisitor"/> with the specified types.
|
|
246
|
+
</summary>
|
|
247
|
+
<param name="clientDiagnosticsType">The CSharpType for ClientDiagnostics (e.g., Azure.Core.Pipeline.ClientDiagnostics or System.ClientModel.Primitives.ClientDiagnostics).</param>
|
|
248
|
+
<param name="diagnosticScopeType">The CSharpType for DiagnosticScope (e.g., Azure.Core.Pipeline.DiagnosticScope or System.ClientModel.Primitives.DiagnosticScope).</param>
|
|
249
|
+
</member>
|
|
250
|
+
<member name="P:Azure.Generator.Visitors.DistributedTracingVisitor.ClientDiagnosticsType">
|
|
251
|
+
<summary>
|
|
252
|
+
Gets the <see cref="T:Microsoft.TypeSpec.Generator.Primitives.CSharpType"/> for the ClientDiagnostics class.
|
|
253
|
+
</summary>
|
|
254
|
+
</member>
|
|
255
|
+
<member name="P:Azure.Generator.Visitors.DistributedTracingVisitor.DiagnosticScopeType">
|
|
256
|
+
<summary>
|
|
257
|
+
Gets the <see cref="T:Microsoft.TypeSpec.Generator.Primitives.CSharpType"/> for the DiagnosticScope struct.
|
|
258
|
+
</summary>
|
|
259
|
+
</member>
|
|
260
|
+
<member name="M:Azure.Generator.Visitors.DistributedTracingVisitor.ShouldPassScopeToPageableConstructor(Microsoft.TypeSpec.Generator.ClientModel.Providers.ScmMethodProvider)">
|
|
261
|
+
<summary>
|
|
262
|
+
Determines whether the specified method is a paging method whose scope name should be
|
|
263
|
+
passed to the pageable collection result constructor (e.g., AzureCollectionResultDefinition).
|
|
234
264
|
</summary>
|
|
265
|
+
<param name="method">The method to check.</param>
|
|
266
|
+
<returns>True if the scope name should be passed to the pageable constructor; otherwise, false.</returns>
|
|
235
267
|
</member>
|
|
236
268
|
<member name="M:Azure.Generator.Visitors.LroVisitor.BuildConvertCallComponents(Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.ClientModel.Providers.ScmMethodProvider)">
|
|
237
269
|
<summary>
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20260710.3": {
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
11
|
+
"Azure.Generator": "1.0.0-alpha.20260710.3",
|
|
12
12
|
"Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260709.13",
|
|
13
13
|
"System.ClientModel": "1.14.0"
|
|
14
14
|
},
|
|
@@ -711,7 +711,7 @@
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
},
|
|
714
|
-
"Azure.Generator/1.0.0-alpha.
|
|
714
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
715
715
|
"dependencies": {
|
|
716
716
|
"Azure.Core": "1.60.0",
|
|
717
717
|
"Azure.Core.Expressions.DataFactory": "1.0.0",
|
|
@@ -721,14 +721,14 @@
|
|
|
721
721
|
"runtime": {
|
|
722
722
|
"Azure.Generator.dll": {
|
|
723
723
|
"assemblyVersion": "1.0.0.0",
|
|
724
|
-
"fileVersion": "1.0.26.
|
|
724
|
+
"fileVersion": "1.0.26.36003"
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
},
|
|
730
730
|
"libraries": {
|
|
731
|
-
"Azure.Generator.StubLibrary/1.0.0-alpha.
|
|
731
|
+
"Azure.Generator.StubLibrary/1.0.0-alpha.20260710.3": {
|
|
732
732
|
"type": "project",
|
|
733
733
|
"serviceable": false,
|
|
734
734
|
"sha512": ""
|
|
@@ -1069,7 +1069,7 @@
|
|
|
1069
1069
|
"path": "system.security.cryptography.protecteddata/8.0.0",
|
|
1070
1070
|
"hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
|
|
1071
1071
|
},
|
|
1072
|
-
"Azure.Generator/1.0.0-alpha.
|
|
1072
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
1073
1073
|
"type": "project",
|
|
1074
1074
|
"serviceable": false,
|
|
1075
1075
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v10.0": {
|
|
9
|
-
"Azure.Generator/1.0.0-alpha.
|
|
9
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"Azure.Core": "1.60.0",
|
|
12
12
|
"Azure.Core.Expressions.DataFactory": "1.0.0",
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
}
|
|
716
716
|
},
|
|
717
717
|
"libraries": {
|
|
718
|
-
"Azure.Generator/1.0.0-alpha.
|
|
718
|
+
"Azure.Generator/1.0.0-alpha.20260710.3": {
|
|
719
719
|
"type": "project",
|
|
720
720
|
"serviceable": false,
|
|
721
721
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -209,6 +209,12 @@
|
|
|
209
209
|
<see cref="T:Azure.Identity.ConfigurationExtensions"/>, filling in the client and settings type parameters.
|
|
210
210
|
</summary>
|
|
211
211
|
</member>
|
|
212
|
+
<member name="T:Azure.Generator.Visitors.AzureDistributedTracingVisitor">
|
|
213
|
+
<summary>
|
|
214
|
+
Azure-specific distributed tracing visitor that handles paging methods
|
|
215
|
+
returning <see cref="T:Azure.Pageable`1"/> or <see cref="T:Azure.AsyncPageable`1"/>.
|
|
216
|
+
</summary>
|
|
217
|
+
</member>
|
|
212
218
|
<member name="T:Azure.Generator.Visitors.ClientRequestIdHeaderVisitor">
|
|
213
219
|
<summary>
|
|
214
220
|
Visitor that modifies service methods to set the `client-request-id`, `x-ms-client-request-id`, and `return-client-request-id` headers.
|
|
@@ -231,7 +237,33 @@
|
|
|
231
237
|
<member name="T:Azure.Generator.Visitors.DistributedTracingVisitor">
|
|
232
238
|
<summary>
|
|
233
239
|
Visitor that adds distributed tracing support to generated client code.
|
|
240
|
+
Uses constructor injection to support both Azure.Core and System.ClientModel types.
|
|
241
|
+
</summary>
|
|
242
|
+
</member>
|
|
243
|
+
<member name="M:Azure.Generator.Visitors.DistributedTracingVisitor.#ctor(Microsoft.TypeSpec.Generator.Primitives.CSharpType,Microsoft.TypeSpec.Generator.Primitives.CSharpType)">
|
|
244
|
+
<summary>
|
|
245
|
+
Creates a new instance of <see cref="T:Azure.Generator.Visitors.DistributedTracingVisitor"/> with the specified types.
|
|
246
|
+
</summary>
|
|
247
|
+
<param name="clientDiagnosticsType">The CSharpType for ClientDiagnostics (e.g., Azure.Core.Pipeline.ClientDiagnostics or System.ClientModel.Primitives.ClientDiagnostics).</param>
|
|
248
|
+
<param name="diagnosticScopeType">The CSharpType for DiagnosticScope (e.g., Azure.Core.Pipeline.DiagnosticScope or System.ClientModel.Primitives.DiagnosticScope).</param>
|
|
249
|
+
</member>
|
|
250
|
+
<member name="P:Azure.Generator.Visitors.DistributedTracingVisitor.ClientDiagnosticsType">
|
|
251
|
+
<summary>
|
|
252
|
+
Gets the <see cref="T:Microsoft.TypeSpec.Generator.Primitives.CSharpType"/> for the ClientDiagnostics class.
|
|
253
|
+
</summary>
|
|
254
|
+
</member>
|
|
255
|
+
<member name="P:Azure.Generator.Visitors.DistributedTracingVisitor.DiagnosticScopeType">
|
|
256
|
+
<summary>
|
|
257
|
+
Gets the <see cref="T:Microsoft.TypeSpec.Generator.Primitives.CSharpType"/> for the DiagnosticScope struct.
|
|
258
|
+
</summary>
|
|
259
|
+
</member>
|
|
260
|
+
<member name="M:Azure.Generator.Visitors.DistributedTracingVisitor.ShouldPassScopeToPageableConstructor(Microsoft.TypeSpec.Generator.ClientModel.Providers.ScmMethodProvider)">
|
|
261
|
+
<summary>
|
|
262
|
+
Determines whether the specified method is a paging method whose scope name should be
|
|
263
|
+
passed to the pageable collection result constructor (e.g., AzureCollectionResultDefinition).
|
|
234
264
|
</summary>
|
|
265
|
+
<param name="method">The method to check.</param>
|
|
266
|
+
<returns>True if the scope name should be passed to the pageable constructor; otherwise, false.</returns>
|
|
235
267
|
</member>
|
|
236
268
|
<member name="M:Azure.Generator.Visitors.LroVisitor.BuildConvertCallComponents(Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.ClientModel.Providers.ScmMethodProvider)">
|
|
237
269
|
<summary>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-typespec/http-client-csharp",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20260710.3",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting Azure libraries for C#.",
|
|
6
6
|
"readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp/README.md",
|