Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Controllers.ControllerImpl.GetActionUrl Method

Returns the URL for the requested action with the specified arguments formatted as query string.

Class: YetaWF.Core.Controllers.ControllerImpl
Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core

Syntax

public string GetActionUrl(
    string actionName,
    object? args = null );

Parameters

actionName

The name of the action within the controller.

args

Optional anonymous object with arguments to be formatted as query string.

Return Value

The URL.

See Also YetaWF.Core.Controllers.ControllerImpl ClassYetaWF.Core Overview