C# Класс Rebel.Cms.Web.Mvc.ViewEngines.TwoLevelViewCache

A custom view cache to improve performance of view lookups. Reference: http://blogs.msdn.com/b/marcinon/archive/2011/08/16/optimizing-mvc-view-lookup-performance.aspx
Наследование: IViewLocationCache
Показать файл Открыть проект

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

Метод Описание
GetViewLocation ( System.Web.HttpContextBase httpContext, string key ) : string
InsertViewLocation ( System.Web.HttpContextBase httpContext, string key, string virtualPath ) : void
TwoLevelViewCache ( IViewLocationCache cache ) : System.Collections.Generic

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

Метод Описание
GetRequestCache ( System.Web.HttpContextBase httpContext ) : string>.IDictionary

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

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

public GetViewLocation ( System.Web.HttpContextBase httpContext, string key ) : string
httpContext System.Web.HttpContextBase
key string
Результат string

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

public InsertViewLocation ( System.Web.HttpContextBase httpContext, string key, string virtualPath ) : void
httpContext System.Web.HttpContextBase
key string
virtualPath string
Результат void

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

public TwoLevelViewCache ( IViewLocationCache cache ) : System.Collections.Generic
cache IViewLocationCache
Результат System.Collections.Generic