Class UmbracoRouteValues
Represents the data required to route to a specific controller/action during an Umbraco request
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.Common.Routing
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoRouteValues
Constructors
View SourceUmbracoRouteValues(IPublishedRequest, ControllerActionDescriptor, String)
Initializes a new instance of the Umbraco
Declaration
public UmbracoRouteValues(IPublishedRequest publishedRequest, ControllerActionDescriptor controllerActionDescriptor, string templateName = null)
Parameters
Type | Name | Description |
---|---|---|
IPublished |
publishedRequest | |
Microsoft. |
controllerActionDescriptor | |
System. |
templateName |
Fields
View SourceDefaultActionName
The default action name
Declaration
public const string DefaultActionName = "Index"
Field Value
Type | Description |
---|---|
System. |
Properties
View SourceActionName
Gets the action name
Declaration
public string ActionName { get; }
Property Value
Type | Description |
---|---|
System. |
ControllerActionDescriptor
Gets the Controller descriptor found for routing to
Declaration
public ControllerActionDescriptor ControllerActionDescriptor { get; }
Property Value
Type | Description |
---|---|
Microsoft. |
ControllerName
Gets the controller name
Declaration
public string ControllerName { get; }
Property Value
Type | Description |
---|---|
System. |
ControllerType
Gets the controller type
Declaration
public Type ControllerType { get; }
Property Value
Type | Description |
---|---|
Type |
PublishedRequest
Gets the
Declaration
public IPublishedRequest PublishedRequest { get; }
Property Value
Type | Description |
---|---|
IPublished |
TemplateName
Gets the template name
Declaration
public string TemplateName { get; }
Property Value
Type | Description |
---|---|
System. |