C# 클래스 Meek.Caching.Cache

상속: ICache, IDisposable
파일 보기 프로젝트 열기: klintz/Meek 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Cache System

공개 메소드들

메소드 설명
Add ( string key, object value ) : object

Adds an Item to the Cache identified by a specified Key

Add ( string key, object value, System.DateTime expiration ) : object

Adds an Item to the Cache identified by a specified Key with a given Expiration

Clear ( ) : void

Clear all Cache Values

Dispose ( ) : void

Disposes the Object

GetValue ( string key ) : object

Gets the Value of an Item with the specified Key

Insert ( string key, object value ) : void

Inserts an Item to the Cache identified by a specified Key

Insert ( string key, object value, System.DateTime expiration ) : void

Inserts an Item to the Cache identified by a specified Key with a given Expiration

Remove ( string key ) : void

Removes an Item from the Cache identified by the specified Key

SetExpiration ( string key, System.DateTime expiration ) : void

Sets a Cache Item specified by a Key with an Expiration Date

this ( string key ) : object

Get or Sets the Cache Item Value based on an Item Key

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Cache ( string cacheName ) : System

Internal Constructor to restrict creation of instance outside of assembly

메소드 상세

Add() 공개 메소드

Adds an Item to the Cache identified by a specified Key
public Add ( string key, object value ) : object
key string Item Key
value object Item Value
리턴 object

Add() 공개 메소드

Adds an Item to the Cache identified by a specified Key with a given Expiration
public Add ( string key, object value, System.DateTime expiration ) : object
key string Item Key
value object Item Value
expiration System.DateTime Item Expiration
리턴 object

Clear() 공개 메소드

Clear all Cache Values
public Clear ( ) : void
리턴 void

Dispose() 공개 메소드

Disposes the Object
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetValue() 공개 메소드

Gets the Value of an Item with the specified Key
public GetValue ( string key ) : object
key string Item Key
리턴 object

Insert() 공개 메소드

Inserts an Item to the Cache identified by a specified Key
public Insert ( string key, object value ) : void
key string Item Key
value object Item Value
리턴 void

Insert() 공개 메소드

Inserts an Item to the Cache identified by a specified Key with a given Expiration
public Insert ( string key, object value, System.DateTime expiration ) : void
key string Item Key
value object Item Value
expiration System.DateTime Item Expiration
리턴 void

Remove() 공개 메소드

Removes an Item from the Cache identified by the specified Key
public Remove ( string key ) : void
key string
리턴 void

SetExpiration() 공개 메소드

Sets a Cache Item specified by a Key with an Expiration Date
public SetExpiration ( string key, System.DateTime expiration ) : void
key string Item Key
expiration System.DateTime Expiration Date
리턴 void

this() 공개 메소드

Get or Sets the Cache Item Value based on an Item Key
public this ( string key ) : object
key string item key
리턴 object