2012-07-20 01:04:35 +06:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.Routing
|
|
|
|
|
{
|
2012-07-20 23:10:43 +06:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// represents a request for one specified Umbraco document to be rendered by one specified template,
|
|
|
|
|
/// using one particular culture.
|
|
|
|
|
/// </summary>
|
2012-07-20 01:04:35 +06:00
|
|
|
internal class RoutingEnvironment
|
|
|
|
|
{
|
|
|
|
|
public RoutingEnvironment(
|
2012-07-20 23:42:55 +06:00
|
|
|
RouteLookups lookups,
|
2012-07-20 01:04:35 +06:00
|
|
|
ILookupNotFound lookupNotFound,
|
|
|
|
|
ContentStore contentStore)
|
|
|
|
|
{
|
2012-07-20 23:42:55 +06:00
|
|
|
RouteLookups = lookups;
|
2012-07-20 01:04:35 +06:00
|
|
|
LookupNotFound = lookupNotFound;
|
|
|
|
|
ContentStore = contentStore;
|
|
|
|
|
}
|
|
|
|
|
|
2012-07-20 23:42:55 +06:00
|
|
|
public RouteLookups RouteLookups { get; private set; }
|
2012-07-20 01:04:35 +06:00
|
|
|
|
2012-07-20 23:10:43 +06:00
|
|
|
public ILookupNotFound LookupNotFound { get; private set; }
|
2012-07-20 01:04:35 +06:00
|
|
|
|
|
|
|
|
public ContentStore ContentStore { get; private set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|