Skip to content

Commit

Permalink
Fix up crefs
Browse files Browse the repository at this point in the history
  • Loading branch information
captainsafia authored Jan 21, 2022
1 parent 567d046 commit eeca3a5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Http/Http.Extensions/src/HttpJsonServiceExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ namespace Microsoft.Extensions.DependencyInjection;
/// </summary>
public static class RouteHandlerJsonServiceExtensions
{
#pragma warning disable CS0419 // Ambiguous reference in cref attribute
/// <summary>
/// Configures options used for reading and writing JSON by route handlers.
/// </summary>
/// <remarks>
/// The options configured here will only affect JSON returned and processed
/// from route handlers, not controllers, when using <see cref="Microsoft.AspNetCore.Http.HttpRequestJsonExtensions.ReadFromJsonAsync" />
/// and <see cref="Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync" />.
/// from route handlers, not controllers, when using <see cref="O:Microsoft.AspNetCore.Http.HttpRequestJsonExtensions.ReadFromJsonAsync" />
/// and <see cref="O:Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync" />.
/// </remarks>
/// <param name="services">The <see cref="IServiceCollection" /> to configure options on.</param>
/// <param name="configureOptions">The <see cref="Action{JsonOptions}"/> to configure the
/// <see cref="JsonOptions"/>.</param>
/// <returns>The modified <see cref="IServiceCollection"/>.</returns>
#pragma warning restore CS0419 // Ambiguous reference in cref attribute
public static IServiceCollection ConfigureRouteHandlerJsonOptions(this IServiceCollection services, Action<JsonOptions> configureOptions)
{
services.Configure<JsonOptions>(configureOptions);
Expand Down

0 comments on commit eeca3a5

Please sign in to comment.