From cd8539e6d931dc661ab126ff4f0484dd8f54f327 Mon Sep 17 00:00:00 2001 From: Nikita Balabaev Date: Sat, 8 Oct 2022 23:19:35 +0200 Subject: [PATCH] Fix XML Docs for Microsoft.AspNetCore.Http.Results --- src/Http/Http.Results/src/Results.cs | 48 +++++++++++++++++++++------- 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/src/Http/Http.Results/src/Results.cs b/src/Http/Http.Results/src/Results.cs index 66b7e3474e5d..1e9c55ae1de9 100644 --- a/src/Http/Http.Results/src/Results.cs +++ b/src/Http/Http.Results/src/Results.cs @@ -424,10 +424,18 @@ public static IResult File( /// /// Redirects to the specified . /// - /// When and are set, sets the status code. - /// When is set, sets the status code. - /// When is set, sets the status code. - /// Otherwise, configures . + /// + /// When and are set, sets the status code. + /// + /// + /// When is set, sets the status code. + /// + /// + /// When is set, sets the status code. + /// + /// + /// Otherwise, configures . + /// /// /// /// The URL to redirect to. @@ -440,10 +448,18 @@ public static IResult Redirect(string url, bool permanent = false, bool preserve /// /// Redirects to the specified . /// - /// When and are set, sets the status code. - /// When is set, sets the status code. - /// When is set, sets the status code. - /// Otherwise, configures . + /// + /// When and are set, sets the status code. + /// + /// + /// When is set, sets the status code. + /// + /// + /// When is set, sets the status code. + /// + /// + /// Otherwise, configures . + /// /// /// /// The local URL to redirect to. @@ -456,10 +472,18 @@ public static IResult LocalRedirect(string localUrl, bool permanent = false, boo /// /// Redirects to the specified route. /// - /// When and are set, sets the status code. - /// When is set, sets the status code. - /// When is set, sets the status code. - /// Otherwise, configures . + /// + /// When and are set, sets the status code. + /// + /// + /// When is set, sets the status code. + /// + /// + /// When is set, sets the status code. + /// + /// + /// Otherwise, configures . + /// /// /// /// The name of the route.