Share via


DefaultViewLocationCache 클래스

정의

뷰 위치에 대한 메모리 캐시를 나타냅니다.

public class DefaultViewLocationCache : System.Web.Mvc.IViewLocationCache
type DefaultViewLocationCache = class
    interface IViewLocationCache
Public Class DefaultViewLocationCache
Implements IViewLocationCache
상속
DefaultViewLocationCache
구현

생성자

DefaultViewLocationCache()

DefaultViewLocationCache 클래스의 새 인스턴스를 초기화합니다.

DefaultViewLocationCache(TimeSpan)

지정된 캐시 시간 범위를 사용하여 클래스의 DefaultViewLocationCache 새 instance 초기화합니다.

필드

Null

비어 있는 뷰 위치 캐시를 만듭니다.

속성

TimeSpan

캐시 시간 범위를 가져오거나 설정합니다.

메서드

GetViewLocation(HttpContextBase, String)

지정된 HTTP 컨텍스트와 캐시 키를 사용하여 기본 뷰 위치를 검색합니다.

InsertViewLocation(HttpContextBase, String, String)

지정된 HTTP 컨텍스트, 캐시 키 및 가상 경로를 사용하여 지정된 가상 경로에 뷰를 삽입합니다.

적용 대상