diff --git a/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouteLinkGenerationEntry.cs b/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouteLinkGenerationEntry.cs
index 969402cbcb..f2fc7204dc 100644
--- a/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouteLinkGenerationEntry.cs
+++ b/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouteLinkGenerationEntry.cs
@@ -46,6 +46,6 @@ namespace Microsoft.AspNet.Mvc.Routing
///
/// The .
///
- public Template Template { get; set; }
+ public RouteTemplate Template { get; set; }
}
}
\ No newline at end of file
diff --git a/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRoutePrecedence.cs b/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRoutePrecedence.cs
index 833356001d..3f4c6dff60 100644
--- a/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRoutePrecedence.cs
+++ b/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRoutePrecedence.cs
@@ -13,7 +13,7 @@ namespace Microsoft.AspNet.Mvc.Routing
///
public static class AttributeRoutePrecedence
{
- public static decimal Compute(Template template)
+ public static decimal Compute(RouteTemplate template)
{
// Each precedence digit corresponds to one decimal place. For example, 3 segments with precedences 2, 1,
// and 4 results in a combined precedence of 2.14 (decimal).
diff --git a/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouting.cs b/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouting.cs
index c3122548c3..346b6ef52d 100644
--- a/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouting.cs
+++ b/src/Microsoft.AspNet.Mvc.Core/Routing/AttributeRouting.cs
@@ -112,7 +112,7 @@ namespace Microsoft.AspNet.Mvc.Routing
//
// For a relatively simple route template, the `Template` object will hold about 500 bytes
// of memory, so sharing is worthwhile.
- var templateCache = new Dictionary(StringComparer.OrdinalIgnoreCase);
+ var templateCache = new Dictionary(StringComparer.OrdinalIgnoreCase);
foreach (var action in actions.Where(a => a.AttributeRouteTemplate != null))
{
@@ -146,7 +146,7 @@ namespace Microsoft.AspNet.Mvc.Routing
private static RouteInfo GetRouteInfo(
IInlineConstraintResolver constraintResolver,
- Dictionary templateCache,
+ Dictionary templateCache,
ActionDescriptor action)
{
var constraint = action.RouteConstraints
@@ -173,7 +173,7 @@ namespace Microsoft.AspNet.Mvc.Routing
try
{
- Template parsedTemplate;
+ RouteTemplate parsedTemplate;
if (!templateCache.TryGetValue(action.AttributeRouteTemplate, out parsedTemplate))
{
// Parsing with throw if the template is invalid.
@@ -228,7 +228,7 @@ namespace Microsoft.AspNet.Mvc.Routing
public string ErrorMessage { get; set; }
- public Template ParsedTemplate { get; set; }
+ public RouteTemplate ParsedTemplate { get; set; }
public decimal Precedence { get; set; }