DefaultViewLocationCache Class


Represents a memory cache for view locations.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Inheritance Hierarchy



public class DefaultViewLocationCache : IViewLocationCache
public ref class DefaultViewLocationCache : IViewLocationCache
type DefaultViewLocationCache = 
        interface IViewLocationCache
Public Class DefaultViewLocationCache
    Implements IViewLocationCache


Name Description
System_CAPS_pubmethod DefaultViewLocationCache()

Initializes a new instance of the DefaultViewLocationCache class.

System_CAPS_pubmethod DefaultViewLocationCache(TimeSpan)

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


Name Description
System_CAPS_pubproperty TimeSpan

Gets or sets the cache time span.


Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetViewLocation(HttpContextBase, String)

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

System_CAPS_pubmethod InsertViewLocation(HttpContextBase, String, String)

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

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)


Name Description
System_CAPS_pubfieldSystem_CAPS_static Null

Creates an empty view location cache.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Mvc Namespace

Return to top