• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnUrlHelper

Inheritance
System.Object
DnnUrlHelper
Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc.dll
Syntax
public class DnnUrlHelper : object

Constructors

| Improve this Doc View Source

DnnUrlHelper(RequestContext, IDnnController)

Declaration
public DnnUrlHelper(RequestContext requestContext, IDnnController controller)
Parameters
Type Name Description
RequestContext requestContext
IDnnController controller
| Improve this Doc View Source

DnnUrlHelper(ViewContext, RouteCollection)

Declaration
public DnnUrlHelper(ViewContext viewContext, RouteCollection routeCollection)
Parameters
Type Name Description
ViewContext viewContext
RouteCollection routeCollection
| Improve this Doc View Source

DnnUrlHelper(ViewContext)

Declaration
public DnnUrlHelper(ViewContext viewContext)
Parameters
Type Name Description
ViewContext viewContext

Properties

| Improve this Doc View Source

ModuleContext

Declaration
public ModuleInstanceContext ModuleContext { get; set; }
Property Value
Type Description
ModuleInstanceContext

Methods

| Improve this Doc View Source

Action()

Declaration
public virtual string Action()
Returns
Type Description
System.String
| Improve this Doc View Source

Action(String, RouteValueDictionary)

Declaration
public virtual string Action(string actionName, RouteValueDictionary routeValues)
Parameters
Type Name Description
System.String actionName
RouteValueDictionary routeValues
Returns
Type Description
System.String
| Improve this Doc View Source

Action(String, Object)

Declaration
public virtual string Action(string actionName, object routeValues)
Parameters
Type Name Description
System.String actionName
System.Object routeValues
Returns
Type Description
System.String
| Improve this Doc View Source

Action(String, String, RouteValueDictionary)

Declaration
public virtual string Action(string actionName, string controllerName, RouteValueDictionary routeValues)
Parameters
Type Name Description
System.String actionName
System.String controllerName
RouteValueDictionary routeValues
Returns
Type Description
System.String
| Improve this Doc View Source

Action(String, String, Object)

Declaration
public virtual string Action(string actionName, string controllerName, object routeValues)
Parameters
Type Name Description
System.String actionName
System.String controllerName
System.Object routeValues
Returns
Type Description
System.String
| Improve this Doc View Source

Action(String, String)

Declaration
public virtual string Action(string actionName, string controllerName)
Parameters
Type Name Description
System.String actionName
System.String controllerName
Returns
Type Description
System.String
| Improve this Doc View Source

Action(String)

Declaration
public virtual string Action(string actionName)
Parameters
Type Name Description
System.String actionName
Returns
Type Description
System.String
| Improve this Doc View Source

Content(String)

Converts a virtual (relative) path to an application absolute path.

Declaration
public virtual string Content(string contentPath)
Parameters
Type Name Description
System.String contentPath

The virtual path of the content.

Returns
Type Description
System.String

The application absolute path.

| Improve this Doc View Source

Encode(String)

Declaration
public virtual string Encode(string url)
Parameters
Type Name Description
System.String url
Returns
Type Description
System.String
| Improve this Doc View Source

IsLocalUrl(String)

Returns a value that indicates whether the URL is local.

Declaration
public virtual bool IsLocalUrl(string url)
Parameters
Type Name Description
System.String url

The URL.

Returns
Type Description
System.Boolean

true if the URL is local; otherwise, false.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS