Dela via


ControllerLinkGeneratorExtensions Class

Definition

Extension methods for using LinkGenerator to generate links to MVC controllers.

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

Methods

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

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

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

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

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

Generates an absolute URI based on the provided values.

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

Generates an absolute URI based on the provided values.

Applies to