C# Class Flatwhite.CacheStoreAdaptor

Inheritance: ICacheStore, IAsyncCacheStore
Afficher le fichier Open project: vanthoainguyen/Flatwhite

Méthodes publiques

Méthode Description
CacheStoreAdaptor ( ICacheStore syncCacheStore ) : System
Contains ( string key ) : bool
ContainsAsync ( string key ) : Task
Get ( string key ) : object
GetAll ( ) : object>>.List
GetAllAsync ( ) : object>>>.Task
GetAsync ( string key ) : Task
Remove ( string key ) : object
RemoveAsync ( string key ) : Task
Set ( string key, object value, DateTimeOffset absoluteExpiration ) : void
SetAsync ( string key, object value, DateTimeOffset absoluteExpiration ) : System.Threading.Tasks.Task

Method Details

CacheStoreAdaptor() public méthode

public CacheStoreAdaptor ( ICacheStore syncCacheStore ) : System
syncCacheStore ICacheStore
Résultat System

Contains() public méthode

public Contains ( string key ) : bool
key string
Résultat bool

ContainsAsync() public méthode

public ContainsAsync ( string key ) : Task
key string
Résultat Task

Get() public méthode

public Get ( string key ) : object
key string
Résultat object

GetAll() public méthode

public GetAll ( ) : object>>.List
Résultat object>>.List

GetAllAsync() public méthode

public GetAllAsync ( ) : object>>>.Task
Résultat object>>>.Task

GetAsync() public méthode

public GetAsync ( string key ) : Task
key string
Résultat Task

Remove() public méthode

public Remove ( string key ) : object
key string
Résultat object

RemoveAsync() public méthode

public RemoveAsync ( string key ) : Task
key string
Résultat Task

Set() public méthode

public Set ( string key, object value, DateTimeOffset absoluteExpiration ) : void
key string
value object
absoluteExpiration DateTimeOffset
Résultat void

SetAsync() public méthode

public SetAsync ( string key, object value, DateTimeOffset absoluteExpiration ) : System.Threading.Tasks.Task
key string
value object
absoluteExpiration DateTimeOffset
Résultat System.Threading.Tasks.Task