LinkGeneratorEndpointNameAddressExtensions
GetPathByName(LinkGenerator, String, Object, PathString, FragmentString, LinkOptions)
GetPathByName(LinkGenerator, String, RouteValueDictionary, PathString, FragmentString, LinkOptions)
GetPathByName(LinkGenerator, HttpContext, String, Object, PathString?, FragmentString, LinkOptions)
GetPathByName(LinkGenerator, HttpContext, String, RouteValueDictionary, PathString?, FragmentString, LinkOptions)
GetUriByName(LinkGenerator, String, Object, String, HostString, PathString, FragmentString, LinkOptions)
GetUriByName(LinkGenerator, String, RouteValueDictionary, String, HostString, PathString, FragmentString, LinkOptions)
GetUriByName(LinkGenerator, HttpContext, String, Object, String, HostString?, PathString?, FragmentString, LinkOptions)
GetUriByName(LinkGenerator, HttpContext, String, RouteValueDictionary, String, HostString?, PathString?, FragmentString, LinkOptions)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Routing
{
public static class LinkGeneratorEndpointNameAddressExtensions
{
public static string GetPathByName(this LinkGenerator generator, HttpContext httpContext, string endpointName, object values, 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.Routing , 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