C# 클래스 SenseNet.Portal.UI.OutputCache

This class encloses functionality related to output caching (cacheableportlet, xsltapplication, ...)
파일 보기 프로젝트 열기: maxpavlov/FlexNet 1 사용 예제들

공개 메소드들

메소드 설명
CanCache ( bool cacheableForLoggedInUser ) : bool
DisableCache ( ) : bool
GetCacheKey ( string customCacheKey, string appNodePath, string portletClientId, bool cacheByPath, bool cacheByParams ) : string
GetCachedOutput ( string cacheKey ) : string
InsertOutputIntoCache ( double absoluteExpiration, double slidingExpiration, string cacheKey, string output, System.Web.Caching.CacheDependency cacheDependency, CacheItemPriority priority ) : void

비공개 메소드들

메소드 설명
GetAbsoluteExpirationSeconds ( ) : double
GetSlidingExpirationSeconds ( ) : double

메소드 상세

CanCache() 공개 정적인 메소드

public static CanCache ( bool cacheableForLoggedInUser ) : bool
cacheableForLoggedInUser bool
리턴 bool

DisableCache() 공개 정적인 메소드

public static DisableCache ( ) : bool
리턴 bool

GetCacheKey() 공개 정적인 메소드

public static GetCacheKey ( string customCacheKey, string appNodePath, string portletClientId, bool cacheByPath, bool cacheByParams ) : string
customCacheKey string
appNodePath string
portletClientId string
cacheByPath bool
cacheByParams bool
리턴 string

GetCachedOutput() 공개 정적인 메소드

public static GetCachedOutput ( string cacheKey ) : string
cacheKey string
리턴 string

InsertOutputIntoCache() 공개 정적인 메소드

public static InsertOutputIntoCache ( double absoluteExpiration, double slidingExpiration, string cacheKey, string output, System.Web.Caching.CacheDependency cacheDependency, CacheItemPriority priority ) : void
absoluteExpiration double
slidingExpiration double
cacheKey string
output string
cacheDependency System.Web.Caching.CacheDependency
priority CacheItemPriority
리턴 void