[Mvc] Remove 'absolute' from documentation of Action (#23695)
The generated urls are host relative in most cases, so correcting the documentation to reflect that.
This commit is contained in:
parent
fa2d86e5b6
commit
9f0ae10cab
|
|
@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
public static class UrlHelperExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method.
|
||||
/// Generates a URL with a path for an action method.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
/// <returns>The generated URL.</returns>
|
||||
|
|
@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> name.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
|
|
@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> name and route <paramref name="values"/>.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
|
|
@ -67,7 +67,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> and <paramref name="controller"/> names.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
|
|
@ -85,7 +85,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> name, <paramref name="controller"/> name, and route <paramref name="values"/>.
|
||||
/// </summary>
|
||||
/// <param name="helper">The <see cref="IUrlHelper"/>.</param>
|
||||
|
|
@ -104,7 +104,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> name, <paramref name="controller"/> name, route <paramref name="values"/>, and
|
||||
/// <paramref name="protocol"/> to use. See the remarks section for important security information.
|
||||
/// </summary>
|
||||
|
|
@ -138,7 +138,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> name, <paramref name="controller"/> name, route <paramref name="values"/>,
|
||||
/// <paramref name="protocol"/> to use, and <paramref name="host"/> name.
|
||||
/// Generates an absolute URL if the <paramref name="protocol"/> and <paramref name="host"/> are
|
||||
|
|
@ -176,7 +176,7 @@ namespace Microsoft.AspNetCore.Mvc
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generates a URL with an absolute path for an action method, which contains the specified
|
||||
/// Generates a URL with a path for an action method, which contains the specified
|
||||
/// <paramref name="action"/> name, <paramref name="controller"/> name, route <paramref name="values"/>,
|
||||
/// <paramref name="protocol"/> to use, <paramref name="host"/> name, and <paramref name="fragment"/>.
|
||||
/// Generates an absolute URL if the <paramref name="protocol"/> and <paramref name="host"/> are
|
||||
|
|
|
|||
Loading…
Reference in New Issue