Search Results for

    Show / Hide Table of Contents
    View Source

    Class FriendlyUrlHelperExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public static class FriendlyUrlHelperExtensions

    Methods

    View Source

    SurfaceAction(IUrlHelper, String, String)

    Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified SurfaceController

    Declaration
    public static string SurfaceAction(this IUrlHelper url, string action, string controllerName)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.IUrlHelper url
    System.String action
    System.String controllerName
    Returns
    Type Description
    System.String
    View Source

    SurfaceAction(IUrlHelper, String, String, Object)

    Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified SurfaceController

    Declaration
    public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, object additionalRouteVals)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.IUrlHelper url
    System.String action
    System.String controllerName
    System.Object additionalRouteVals
    Returns
    Type Description
    System.String
    View Source

    SurfaceAction(IUrlHelper, String, String, String, Object)

    Generates a URL based on the current Umbraco URL with a custom query string that will route to the specified SurfaceController

    Declaration
    public static string SurfaceAction(this IUrlHelper url, string action, string controllerName, string area, object additionalRouteVals)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.IUrlHelper url
    System.String action
    System.String controllerName
    System.String area
    System.Object additionalRouteVals
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • SurfaceAction(IUrlHelper, String, String)
      • SurfaceAction(IUrlHelper, String, String, Object)
      • SurfaceAction(IUrlHelper, String, String, String, Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX