Make RazorViewEngine.GetNormalizedRouteValue public

Fixes #3108
This commit is contained in:
Pranav K 2015-09-08 15:41:44 -07:00
parent a6aaef0d63
commit 1c8f22058c
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ namespace Microsoft.AspNet.Mvc.Razor
/// <see cref="ActionDescriptor.RouteConstraints"/> for traditional routes to get route values produces
/// consistently cased results.
/// </remarks>
internal static string GetNormalizedRouteValue(ActionContext context, string key)
public static string GetNormalizedRouteValue([NotNull] ActionContext context, [NotNull] string key)
{
object routeValue;
if (!context.RouteData.Values.TryGetValue(key, out routeValue))