diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-11-04 06:08:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 06:08:58 +0300 |
commit | a79ce1939229ad72ff3d3ddf755550546ce785f8 (patch) | |
tree | 874400b37bdb4fd6d04c339103066bf76fa459f6 | |
parent | 0bf66dc79855e2eb27874205d58b06c811d13bf6 (diff) |
Fix XML Docs for Microsoft.AspNetCore.Http.Results (#44488)
Co-authored-by: Nikita Balabaev <xakep139@users.noreply.github.com>
-rw-r--r-- | src/Http/Http.Results/src/Results.cs | 48 |
1 files changed, 36 insertions, 12 deletions
diff --git a/src/Http/Http.Results/src/Results.cs b/src/Http/Http.Results/src/Results.cs index 66b7e3474e..1e9c55ae1d 100644 --- a/src/Http/Http.Results/src/Results.cs +++ b/src/Http/Http.Results/src/Results.cs @@ -424,10 +424,18 @@ public static partial class Results /// <summary> /// Redirects to the specified <paramref name="url"/>. /// <list type="bullet"> - /// <item>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.Status308PermanentRedirect"/> status code.</item> - /// <item>When <paramref name="preserveMethod"/> is set, sets the <see cref="StatusCodes.Status307TemporaryRedirect"/> status code.</item> - /// <item>When <paramref name="permanent"/> is set, sets the <see cref="StatusCodes.Status301MovedPermanently"/> status code.</item> - /// <item>Otherwise, configures <see cref="StatusCodes.Status302Found"/>.</item> + /// <item> + /// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.Status308PermanentRedirect"/> status code.</description> + /// </item> + /// <item> + /// <description>When <paramref name="preserveMethod"/> is set, sets the <see cref="StatusCodes.Status307TemporaryRedirect"/> status code.</description> + /// </item> + /// <item> + /// <description>When <paramref name="permanent"/> is set, sets the <see cref="StatusCodes.Status301MovedPermanently"/> status code.</description> + /// </item> + /// <item> + /// <description>Otherwise, configures <see cref="StatusCodes.Status302Found"/>.</description> + /// </item> /// </list> /// </summary> /// <param name="url">The URL to redirect to.</param> @@ -440,10 +448,18 @@ public static partial class Results /// <summary> /// Redirects to the specified <paramref name="localUrl"/>. /// <list type="bullet"> - /// <item>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.Status308PermanentRedirect"/> status code.</item> - /// <item>When <paramref name="preserveMethod"/> is set, sets the <see cref="StatusCodes.Status307TemporaryRedirect"/> status code.</item> - /// <item>When <paramref name="permanent"/> is set, sets the <see cref="StatusCodes.Status301MovedPermanently"/> status code.</item> - /// <item>Otherwise, configures <see cref="StatusCodes.Status302Found"/>.</item> + /// <item> + /// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.Status308PermanentRedirect"/> status code.</description> + /// </item> + /// <item> + /// <description>When <paramref name="preserveMethod"/> is set, sets the <see cref="StatusCodes.Status307TemporaryRedirect"/> status code.</description> + /// </item> + /// <item> + /// <description>When <paramref name="permanent"/> is set, sets the <see cref="StatusCodes.Status301MovedPermanently"/> status code.</description> + /// </item> + /// <item> + /// <description>Otherwise, configures <see cref="StatusCodes.Status302Found"/>.</description> + /// </item> /// </list> /// </summary> /// <param name="localUrl">The local URL to redirect to.</param> @@ -456,10 +472,18 @@ public static partial class Results /// <summary> /// Redirects to the specified route. /// <list type="bullet"> - /// <item>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.Status308PermanentRedirect"/> status code.</item> - /// <item>When <paramref name="preserveMethod"/> is set, sets the <see cref="StatusCodes.Status307TemporaryRedirect"/> status code.</item> - /// <item>When <paramref name="permanent"/> is set, sets the <see cref="StatusCodes.Status301MovedPermanently"/> status code.</item> - /// <item>Otherwise, configures <see cref="StatusCodes.Status302Found"/>.</item> + /// <item> + /// <description>When <paramref name="permanent"/> and <paramref name="preserveMethod"/> are set, sets the <see cref="StatusCodes.Status308PermanentRedirect"/> status code.</description> + /// </item> + /// <item> + /// <description>When <paramref name="preserveMethod"/> is set, sets the <see cref="StatusCodes.Status307TemporaryRedirect"/> status code.</description> + /// </item> + /// <item> + /// <description>When <paramref name="permanent"/> is set, sets the <see cref="StatusCodes.Status301MovedPermanently"/> status code.</description> + /// </item> + /// <item> + /// <description>Otherwise, configures <see cref="StatusCodes.Status302Found"/>.</description> + /// </item> /// </list> /// </summary> /// <param name="routeName">The name of the route.</param> |