diff options
author | Nikita Balabaev <xakep139@users.noreply.github.com> | 2022-10-09 00:19:35 +0300 |
---|---|---|
committer | github-actions <github-actions@github.com> | 2022-10-12 07:22:36 +0300 |
commit | aed5090cdf14f680d35a512254877969dde82693 (patch) | |
tree | d624eafec40843e775b111bbe2080770483c628c | |
parent | ed29a0c965359eab96ea6cc24e209f54aa543799 (diff) |
Fix XML Docs for Microsoft.AspNetCore.Http.Resultsbackport/pr-44429-to-release/7.0
-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> |