DefaultViewLocationCache Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
DefaultViewLocationCache
- Implements
Default |
Initializes a new instance of the DefaultViewLocationCache class. |
Default |
Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span. |
Null |
Creates an empty view location cache. |
Time |
Gets or sets the cache time span. |
Get |
Retrieves the default view location by using the specified HTTP context and cache key. |
Insert |
Inserts the view in the specified virtual path by using the specified HTTP context, cache key, and virtual path. |
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |