ControllerLinkGeneratorExtensions
GetPathByAction(LinkGenerator, String, String, Object, PathString, FragmentString, LinkOptions)
GetPathByAction(LinkGenerator, HttpContext, String, String, Object, PathString?, FragmentString, LinkOptions)
GetUriByAction(LinkGenerator, String, String, Object, String, HostString, PathString, FragmentString, LinkOptions)
GetUriByAction(LinkGenerator, HttpContext, String, String, Object, String, HostString?, PathString?, FragmentString, LinkOptions)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Routing
{
public static class ControllerLinkGeneratorExtensions
{
public static string GetUriByAction(this LinkGenerator generator, string action, string controller, object values, string scheme, HostString host, PathString pathBase = default, FragmentString fragment = default, LinkOptions options = null);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.23.03.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Microsoft.AspNetCore.Mvc.Core , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API