using System.Web.Mvc;
using Umbraco.Web.Routing;
namespace Umbraco.Web.Mvc
{
///
/// Represents the data required to route to a specific controller/action during an Umbraco request
///
internal class RouteDefinition
{
public string ControllerName { get; set; }
public string ActionName { get; set; }
///
/// The Controller instance found for routing to
///
public ControllerBase Controller { get; set; }
///
/// The current RenderModel found for the request
///
public PublishedContentRequest PublishedContentRequest { get; set; }
///
/// Gets/sets whether the current request has a hijacked route/user controller routed for it
///
public bool HasHijackedRoute { get; set; }
}
}