Skip to content

Commit bc088e3

Browse files
committed
remove crefs for old APIs
1 parent e283e30 commit bc088e3

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

xml/System.Cloud.Messaging/LatencyRecorderMiddlewareExtensions.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@
4949
<Docs>
5050
<param name="pipelineBuilder">The builder for async processing pipeline.</param>
5151
<summary>
52-
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> in <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to
53-
create and set <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> with the <see cref="T:System.Cloud.Messaging.MessageContext" />.
52+
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the ILatencyContextProvider in <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to
53+
create and set ILatencyContext with the <see cref="T:System.Cloud.Messaging.MessageContext" />.
5454
</summary>
5555
<returns>
5656
<see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
5757
<remarks>
58-
If the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> is already available in the workflow,
58+
If the ILatencyContext is already available in the workflow,
5959
use the <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0})" /> variant.
6060
</remarks>
6161
<exception cref="T:System.ArgumentNullException">Any argument is <see langword="null" />.</exception>
@@ -87,11 +87,11 @@
8787
<Parameter Name="implementationFactory" Type="System.Func&lt;System.IServiceProvider,T&gt;" Index="1" FrameworkAlternate="net-10.0-pp;net-8.0-pp;net-9.0-pp;netframework-4.6.2-pp" />
8888
</Parameters>
8989
<Docs>
90-
<typeparam name="T">The type of <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> implementation.</typeparam>
90+
<typeparam name="T">The type of ILatencyContext implementation.</typeparam>
9191
<param name="pipelineBuilder">The builder for async processing pipeline.</param>
92-
<param name="implementationFactory">The <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> implementation factory.</param>
92+
<param name="implementationFactory">The ILatencyContext implementation factory.</param>
9393
<summary>
94-
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to reuse the existing <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> registered with the ASP.NET pipeline and set it in the <see cref="T:System.Cloud.Messaging.MessageContext" />.
94+
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to reuse the existing ILatencyContext registered with the ASP.NET pipeline and set it in the <see cref="T:System.Cloud.Messaging.MessageContext" />.
9595
</summary>
9696
<returns>
9797
<see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
@@ -132,18 +132,18 @@
132132
<Parameter Name="exporterFactory" Type="System.Func&lt;System.IServiceProvider,System.Collections.Generic.IEnumerable&lt;Microsoft.Extensions.Telemetry.Latency.ILatencyDataExporter&gt;&gt;" Index="2" FrameworkAlternate="netframework-4.6.2-pp" />
133133
</Parameters>
134134
<Docs>
135-
<typeparam name="T">The type of <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> implementation.</typeparam>
135+
<typeparam name="T">The type of ILatencyContextProvider implementation.</typeparam>
136136
<param name="pipelineBuilder">The builder for async processing pipeline.</param>
137-
<param name="implementationFactory">The <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> implementation factory.</param>
137+
<param name="implementationFactory">The ILatencyContextProvider implementation factory.</param>
138138
<param name="exporterFactory">The factory for exporting capture latency context.</param>
139139
<summary>
140-
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the provided <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContextProvider" /> in the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to
141-
create and set <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> with the <see cref="T:System.Cloud.Messaging.MessageContext" />.
140+
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> to register the provided ILatencyContextProvider the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline to
141+
create and set ILatencyContext with the <see cref="T:System.Cloud.Messaging.MessageContext" />.
142142
</summary>
143143
<returns>
144144
<see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
145145
<remarks>
146-
If the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> is already available in the workflow,
146+
If the ILatencyContext is already available in the workflow,
147147
use the <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0})" /> variant.
148148
</remarks>
149149
<exception cref="T:System.ArgumentNullException">Any argument is <see langword="null" />.</exception>
@@ -179,12 +179,12 @@
179179
<param name="failureMeasureToken">The failure token.</param>
180180
<summary>
181181
Adds the <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> for recording latency of the underlying <see cref="T:System.Cloud.Messaging.IMessageMiddleware" /> pipeline
182-
by obtaining the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> associated with <see cref="T:System.Cloud.Messaging.MessageContext" />.
182+
by obtaining the ILatencyContext associated with <see cref="T:System.Cloud.Messaging.MessageContext" />.
183183
</summary>
184184
<returns>
185185
<see cref="T:System.Cloud.Messaging.IAsyncProcessingPipelineBuilder" /> to chain additional calls.</returns>
186186
<remarks>
187-
Ensure to register the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> in the <see cref="T:System.Cloud.Messaging.MessageContext" /> before calling this method via either of the following methods:
187+
Ensure to register the ILatencyContext in the <see cref="T:System.Cloud.Messaging.MessageContext" /> before calling this method via either of the following methods:
188188
1. <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder)" /> OR
189189
2. <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0},System.Func{System.IServiceProvider,System.Collections.Generic.IEnumerable{Microsoft.Extensions.Telemetry.Latency.ILatencyDataExporter}})" /> OR
190190
3. <see cref="M:System.Cloud.Messaging.LatencyRecorderMiddlewareExtensions.AddLatencyContextMiddleware``1(System.Cloud.Messaging.IAsyncProcessingPipelineBuilder,System.Func{System.IServiceProvider,``0})" />.

xml/System.Cloud.Messaging/MessageLatencyContextFeatureExtensions.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Interfaces />
2020
<Docs>
2121
<summary>
22-
Provides extension methods for <see cref="T:System.Cloud.Messaging.MessageContext" /> class to add support for setting/retrieving <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" />.
22+
Provides extension methods for <see cref="T:System.Cloud.Messaging.MessageContext" /> class to add support for setting/retrieving ILatencyContext.
2323
</summary>
2424
<remarks>To be added.</remarks>
2525
</Docs>
@@ -51,10 +51,10 @@
5151
<param name="context">The message context.</param>
5252
<param name="latencyContext">The latency context to store fine-grained latency for different processing steps.</param>
5353
<summary>
54-
Sets the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> in <see cref="T:System.Cloud.Messaging.MessageContext" />.
54+
Sets the ILatencyContext in <see cref="T:System.Cloud.Messaging.MessageContext" />.
5555
</summary>
5656
<remarks>
57-
The <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> allows user to set fine-grained latency and associated properties for different processing steps.
57+
The ILatencyContext allows user to set fine-grained latency and associated properties for different processing steps.
5858
</remarks>
5959
<exception cref="T:System.ArgumentNullException">Any argument is <see langword="null" />.</exception>
6060
</Docs>
@@ -86,12 +86,12 @@
8686
<param name="context">The message context.</param>
8787
<param name="latencyContext">The optional latency context registered with the <paramref name="context" />.</param>
8888
<summary>
89-
Try to get the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> from the <see cref="T:System.Cloud.Messaging.MessageContext" />.
89+
Try to get the ILatencyContext from the <see cref="T:System.Cloud.Messaging.MessageContext" />.
9090
</summary>
9191
<returns>
92-
<see cref="T:System.Boolean" /> and if <see langword="true" />, a corresponding <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" />.</returns>
92+
<see cref="T:System.Boolean" /> and if <see langword="true" />, a corresponding ILatencyContext.</returns>
9393
<remarks>
94-
Application should set the <see cref="T:Microsoft.Extensions.Telemetry.Latency.ILatencyContext" /> in the <see cref="T:System.Cloud.Messaging.MessageContext" /> via the <see cref="M:System.Cloud.Messaging.MessageLatencyContextFeatureExtensions.SetLatencyContext(System.Cloud.Messaging.MessageContext,Microsoft.Extensions.Telemetry.Latency.ILatencyContext)" />.
94+
Application should set the ILatencyContext in the <see cref="T:System.Cloud.Messaging.MessageContext" /> via the <see cref="M:System.Cloud.Messaging.MessageLatencyContextFeatureExtensions.SetLatencyContext(System.Cloud.Messaging.MessageContext,Microsoft.Extensions.Telemetry.Latency.ILatencyContext)" /> method.
9595
</remarks>
9696
<exception cref="T:System.ArgumentNullException">
9797
<paramref name="context" /> is <see langword="null" />.</exception>

0 commit comments

Comments
 (0)