fix formatting for api reference (#25577)

pull/25581/head
Fiyaz Bin Hasan 2022-04-08 15:15:21 +06:00 committed by GitHub
parent 13232ca258
commit 9cfc9e7adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ The preceding highlighted inline middleware is used to demonstrate creating a mi
There are two overloads available for the `Use` extension:
* One takes a <xref:Microsoft.AspNetCore.Http.HttpContext> and a `Func<Task>`. Invoke the `Func<Task>` without any parameters.
* The other takes a `HttpContext` and a `<xref:Microsoft.AspNetCore.Http.RequestDelegate>`. Invoke the `RequestDelegate` by passing the `HttpContext`.
* The other takes a `HttpContext` and a <xref:Microsoft.AspNetCore.Http.RequestDelegate>. Invoke the `RequestDelegate` by passing the `HttpContext`.
Prefer using the later overload as it saves two internal per-request allocations that are required when using the other overload.