Class RouteDefinition
Represents the data required to route to a specific controller/action during an Umbraco request
Inheritance
System.Object
Namespace: Umbraco.Web.Mvc
Assembly: Umbraco.Web.dll
Syntax
public class RouteDefinition
Properties
View SourceActionName
Declaration
public string ActionName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ControllerName
Declaration
public string ControllerName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ControllerType
The Controller type found for routing to
Declaration
public Type ControllerType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
HasHijackedRoute
Gets/sets whether the current request has a hijacked route/user controller routed for it
Declaration
public bool HasHijackedRoute { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PublishedRequest
Everything related to the current content request including the requested content
Declaration
public PublishedRequest PublishedRequest { get; set; }
Property Value
Type | Description |
---|---|
PublishedRequest |