Dela via


PageLinkGeneratorExtensions Class

Definition

Extension methods for using LinkGenerator to generate links to Razor Pages.

public ref class PageLinkGeneratorExtensions abstract sealed
public static class PageLinkGeneratorExtensions
type PageLinkGeneratorExtensions = class
Public Module PageLinkGeneratorExtensions
Inheritance
PageLinkGeneratorExtensions

Methods

GetPathByPage(LinkGenerator, HttpContext, String, String, Object, Nullable<PathString>, FragmentString, LinkOptions)

Generates a URI with an absolute path based on the provided values.

GetPathByPage(LinkGenerator, String, String, Object, PathString, FragmentString, LinkOptions)

Generates a URI with an absolute path based on the provided values.

GetUriByPage(LinkGenerator, HttpContext, String, String, Object, String, Nullable<HostString>, Nullable<PathString>, FragmentString, LinkOptions)

Generates an absolute URI based on the provided values.

GetUriByPage(LinkGenerator, String, String, Object, String, HostString, PathString, FragmentString, LinkOptions)

Generates an absolute URI based on the provided values.

Applies to