Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DefaultViewLocationCache Class

Represents a memory cache for view locations.

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

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public ref class DefaultViewLocationCache : IViewLocationCache

The DefaultViewLocationCache type exposes the following members.

  NameDescription
Public methodDefaultViewLocationCache()Initializes a new instance of the DefaultViewLocationCache class.
Public methodDefaultViewLocationCache(TimeSpan)Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span.
Top
  NameDescription
Public propertyTimeSpanGets or sets the cache time span.
Top
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodGetViewLocationRetrieves the default view location by using the specified HTTP context and cache key.
Public methodInsertViewLocationInserts the view in the specified virtual path by using the specified HTTP context, cache key, and virtual path.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Public fieldStatic memberNullCreates an empty view location cache.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.