C# Класс Solita.Episerver.Performance.Routing.CachingUrlResolver

Caches UrlResolver.GetVirtualPath(ContentReference, string, VirtualPathArguments) results in ContextMode.Default (end-user view). Cache invalidates when Episerver content changes.
Наследование: DefaultUrlResolver
Показать файл Открыть проект

Открытые методы

Метод Описание
CachingUrlResolver ( RouteCollection routes, IContentLoader contentLoader, SiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IObjectInstanceCache cache ) : System
GetVirtualPath ( EPiServer.Core.ContentReference contentLink, string language, VirtualPathArguments args ) : System.Web.Routing.VirtualPathData

Приватные методы

Метод Описание
CreateCacheEvictionPolicy ( ) : CacheEvictionPolicy
CreateCacheKey ( EPiServer.Core.ContentReference contentLink, string language, VirtualPathArguments args ) : string
IgnoreCache ( EPiServer.Core.ContentReference contentLink, VirtualPathArguments args ) : bool
IsDefaultContextActive ( VirtualPathArguments args ) : bool

Описание методов

CachingUrlResolver() публичный Метод

public CachingUrlResolver ( RouteCollection routes, IContentLoader contentLoader, SiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IObjectInstanceCache cache ) : System
routes RouteCollection
contentLoader IContentLoader
siteDefinitionRepository SiteDefinitionRepository
templateResolver TemplateResolver
permanentLinkMapper IPermanentLinkMapper
cache IObjectInstanceCache
Результат System

GetVirtualPath() публичный Метод

public GetVirtualPath ( EPiServer.Core.ContentReference contentLink, string language, VirtualPathArguments args ) : System.Web.Routing.VirtualPathData
contentLink EPiServer.Core.ContentReference
language string
args VirtualPathArguments
Результат System.Web.Routing.VirtualPathData