DefaultViewLocationCache Class
TOC
Collapse the table of content
Expand the table of content

DefaultViewLocationCache Class

 

Represents a memory cache for view locations.

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

System::Object
  System.Web.Mvc::DefaultViewLocationCache

public ref class DefaultViewLocationCache : IViewLocationCache

NameDescription
System_CAPS_pubmethodDefaultViewLocationCache()

Initializes a new instance of the DefaultViewLocationCache class.

System_CAPS_pubmethodDefaultViewLocationCache(TimeSpan)

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

NameDescription
System_CAPS_pubpropertyTimeSpan

Gets or sets the cache time span.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetViewLocation(HttpContextBase^, String^)

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

System_CAPS_pubmethodInsertViewLocation(HttpContextBase^, String^, String^)

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

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticNull

Creates an empty view location cache.

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

Return to top
Show:
© 2016 Microsoft