Метод | Описание | |
---|---|---|
Flush ( ) : void | ||
Get ( string key, System.TimeSpan maxAge, bool removeIfExpired ) : ICacheItem | ||
PersistentCache ( string filename, |
||
Shrink ( long size ) : void | ||
ToArray ( |
Return all items in the cache. Works similarly to ArrayList.ToArray(Type).
|
|
this ( string key ) : ICacheItem |
Gets or sets cache values.
|
Метод | Описание | |
---|---|---|
Expired ( System.DateTime test, System.TimeSpan age ) : bool | ||
InternalGet ( string key ) : ICacheItem | ||
InternalGetAll ( |
||
InternalSet ( string key, ICacheItem value ) : ICacheItem | ||
Load ( Stream s ) : |
||
Persist ( ) : void | ||
Refresh ( ) : void | ||
RemoveKey ( string key ) : ICacheItem | ||
Store ( Stream s, |
public Get ( string key, System.TimeSpan maxAge, bool removeIfExpired ) : ICacheItem | ||
key | string | |
maxAge | System.TimeSpan | |
removeIfExpired | bool | |
Результат | ICacheItem |
public PersistentCache ( string filename, |
||
filename | string | |
persister | ||
maxSize | long | |
Результат | System |
public ToArray ( |
||
valueType | ||
Результат | ICacheItem[] |