C# 클래스 Argentini.Halide.H3Caching

The H3Caching class contains methods and properties for manipulating the page output cache, as well as other caching and history functionality. Cache time is determined by the "OutputCacheTime" setting in the Halide configuration section of the web.config file. The time is in seconds.
파일 보기 프로젝트 열기: argentini/Halide

공개 메소드들

메소드 설명
Cache ( String key, Object value ) : void

Output Caching wrapper method. Caches an object for a number of seconds specified in the web.config file under the Halide Settings key "outputCacheTime".

Cache ( String key, Object value, System.DateTime expirationDateTime ) : void

Output Caching wrapper method. Caches an object until the date and time specified.

Cache ( String key, Object value, Int32 expirationSeconds ) : void

Output Caching wrapper method. Caches an object for the number of seconds specified.

Cache ( String key, String value ) : void

Output Caching wrapper method. Caches a string value for a number of seconds specified in the web.config file under the Halide Settings key "outputCacheTime".

Cache ( String key, String value, System.DateTime expirationDateTime ) : void

Output Caching wrapper method. Caches a string value until the date and time specified.

Cache ( String key, String value, Int32 expirationSeconds ) : void

Output Caching wrapper method. Caches a string value for the number of seconds specified.

CacheClear ( ) : void

Clear the output cache.

CacheValid ( String key ) : bool

Output caching wrapper method. Determines if a cached item exists or not.

비공개 메소드들

메소드 설명
H3Caching ( ) : System

메소드 상세

Cache() 공개 정적인 메소드

Output Caching wrapper method. Caches an object for a number of seconds specified in the web.config file under the Halide Settings key "outputCacheTime".
public static Cache ( String key, Object value ) : void
key String Unique name of the cached item
value Object Object to store in the cache
리턴 void

Cache() 공개 정적인 메소드

Output Caching wrapper method. Caches an object until the date and time specified.
public static Cache ( String key, Object value, System.DateTime expirationDateTime ) : void
key String Unique name of the cached item
value Object Object to store in the cache
expirationDateTime System.DateTime Expiration date and time.
리턴 void

Cache() 공개 정적인 메소드

Output Caching wrapper method. Caches an object for the number of seconds specified.
public static Cache ( String key, Object value, Int32 expirationSeconds ) : void
key String Unique name of the cached item
value Object Object to store in the cache
expirationSeconds System.Int32 Expiration time, in seconds, from the current date and time.
리턴 void

Cache() 공개 정적인 메소드

Output Caching wrapper method. Caches a string value for a number of seconds specified in the web.config file under the Halide Settings key "outputCacheTime".
public static Cache ( String key, String value ) : void
key String Unique name of the cached item
value String String value to store in the cache
리턴 void

Cache() 공개 정적인 메소드

Output Caching wrapper method. Caches a string value until the date and time specified.
public static Cache ( String key, String value, System.DateTime expirationDateTime ) : void
key String Unique name of the cached item
value String String value to store in the cache
expirationDateTime System.DateTime Expiration date and time.
리턴 void

Cache() 공개 정적인 메소드

Output Caching wrapper method. Caches a string value for the number of seconds specified.
public static Cache ( String key, String value, Int32 expirationSeconds ) : void
key String Unique name of the cached item
value String String value to store in the cache
expirationSeconds System.Int32 Expiration time, in seconds, from the current date and time.
리턴 void

CacheClear() 공개 정적인 메소드

Clear the output cache.
public static CacheClear ( ) : void
리턴 void

CacheValid() 공개 정적인 메소드

Output caching wrapper method. Determines if a cached item exists or not.
public static CacheValid ( String key ) : bool
key String Unique name of the cached item
리턴 bool