DefaultViewLocationCache DefaultViewLocationCache DefaultViewLocationCache Class

Definition

Represents a memory cache for view locations.

public class DefaultViewLocationCache : System.Web.Mvc.IViewLocationCache
type DefaultViewLocationCache = class
    interface IViewLocationCache
Public Class DefaultViewLocationCache
Implements IViewLocationCache
Inheritance
DefaultViewLocationCacheDefaultViewLocationCacheDefaultViewLocationCache
Implements

Constructors

DefaultViewLocationCache() DefaultViewLocationCache() DefaultViewLocationCache()

Initializes a new instance of the DefaultViewLocationCache class.

DefaultViewLocationCache(TimeSpan) DefaultViewLocationCache(TimeSpan) DefaultViewLocationCache(TimeSpan)

Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span.

Fields

Null Null Null

Creates an empty view location cache.

Properties

TimeSpan TimeSpan TimeSpan

Gets or sets the cache time span.

Methods

GetViewLocation(HttpContextBase, String) GetViewLocation(HttpContextBase, String) GetViewLocation(HttpContextBase, String)

Retrieves the default view location by using the specified HTTP context and cache key.

InsertViewLocation(HttpContextBase, String, String) InsertViewLocation(HttpContextBase, String, String) InsertViewLocation(HttpContextBase, String, String)

Inserts the view in the specified virtual path by using the specified HTTP context, cache key, and virtual path.

Applies to