Interface IViewLocationCache
Defines the methods that are required in order to cache view locations in memory.
public interface IViewLocationCache
Methods
GetViewLocation(HttpContextBase, string)
Gets the view location by using the specified HTTP context and the cache key.
string GetViewLocation(HttpContextBase httpContext, string key)
Parameters
httpContext
HttpContextBaseThe HTTP context.
key
stringThe cache key.
Returns
- string
The view location.
InsertViewLocation(HttpContextBase, string, string)
Inserts the specified view location into the cache by using the specified HTTP context and the cache key.
void InsertViewLocation(HttpContextBase httpContext, string key, string virtualPath)