Skip to content

Commit f876e4d

Browse files
committed
Args order.
1 parent 8c7b6d2 commit f876e4d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#nullable enable
22
Microsoft.AspNetCore.Builder.StatusCodePagesOptions.CreateScopeForErrors.get -> bool
33
Microsoft.AspNetCore.Builder.StatusCodePagesOptions.CreateScopeForErrors.set -> void
4-
static Microsoft.AspNetCore.Builder.StatusCodePagesExtensions.UseStatusCodePagesWithReExecute(this Microsoft.AspNetCore.Builder.IApplicationBuilder! app, bool createScopeForErrors, string! pathFormat, string? queryFormat = null) -> Microsoft.AspNetCore.Builder.IApplicationBuilder!
4+
static Microsoft.AspNetCore.Builder.StatusCodePagesExtensions.UseStatusCodePagesWithReExecute(this Microsoft.AspNetCore.Builder.IApplicationBuilder! app, string! pathFormat, bool createScopeForErrors, string? queryFormat = null) -> Microsoft.AspNetCore.Builder.IApplicationBuilder!

src/Middleware/Diagnostics/src/StatusCodePage/StatusCodePagesExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,15 @@ public static IApplicationBuilder UseStatusCodePagesWithReExecute(
167167
/// re-executing the request pipeline using an alternate path. This path may contain a '{0}' placeholder of the status code.
168168
/// </summary>
169169
/// <param name="app"></param>
170-
/// <param name="createScopeForErrors">Whether or not to create a new <see cref="IServiceProvider"/> scope.</param>
171170
/// <param name="pathFormat"></param>
171+
/// <param name="createScopeForErrors">Whether or not to create a new <see cref="IServiceProvider"/> scope.</param>
172172
/// <param name="queryFormat"></param>
173173
/// <returns></returns>
174174
[SuppressMessage("ApiDesign", "RS0026:Do not add multiple overloads with optional parameters", Justification = "Required to maintain compatibility")]
175175
public static IApplicationBuilder UseStatusCodePagesWithReExecute(
176176
this IApplicationBuilder app,
177-
bool createScopeForErrors,
178177
string pathFormat,
178+
bool createScopeForErrors,
179179
string? queryFormat = null)
180180
{
181181
ArgumentNullException.ThrowIfNull(app);

0 commit comments

Comments
 (0)