using System;
using Umbraco.Web.Routing;
namespace Umbraco.Web.Website
{
///
/// Represents the data required to route to a specific controller/action during an Umbraco request
///
public class RouteDefinition
{
public string ControllerName { get; set; }
public string ActionName { get; set; }
///
/// The Controller type found for routing to
///
public Type ControllerType { get; set; }
///
/// Everything related to the current content request including the requested content
///
public IPublishedRequest PublishedRequest { get; set; }
///
/// Gets/sets whether the current request has a hijacked route/user controller routed for it
///
public bool HasHijackedRoute { get; set; }
}
}