Alloy.Helpers.UrlHelpers.GetPageRoute C# (CSharp) Метод

GetPageRoute() публичный статический Метод

public static GetPageRoute ( this requestContext, EPiServer.Core.ContentReference contentLink ) : RouteValueDictionary
requestContext this
contentLink EPiServer.Core.ContentReference
Результат RouteValueDictionary
        public static RouteValueDictionary GetPageRoute(this RequestContext requestContext, ContentReference contentLink)
        {
            var values = new RouteValueDictionary();
            values[RoutingConstants.NodeKey] = contentLink;
            values[RoutingConstants.LanguageKey] = ContentLanguage.PreferredCulture.Name;
            return values;
        }