C# Class Flatwhite.CacheStoreAdaptor

Inheritance: ICacheStore, IAsyncCacheStore
Show file Open project: vanthoainguyen/Flatwhite

Public Methods

Method 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 method

public CacheStoreAdaptor ( ICacheStore syncCacheStore ) : System
syncCacheStore ICacheStore
return System

Contains() public method

public Contains ( string key ) : bool
key string
return bool

ContainsAsync() public method

public ContainsAsync ( string key ) : Task
key string
return Task

Get() public method

public Get ( string key ) : object
key string
return object

GetAll() public method

public GetAll ( ) : object>>.List
return object>>.List

GetAllAsync() public method

public GetAllAsync ( ) : object>>>.Task
return object>>>.Task

GetAsync() public method

public GetAsync ( string key ) : Task
key string
return Task

Remove() public method

public Remove ( string key ) : object
key string
return object

RemoveAsync() public method

public RemoveAsync ( string key ) : Task
key string
return Task

Set() public method

public Set ( string key, object value, DateTimeOffset absoluteExpiration ) : void
key string
value object
absoluteExpiration DateTimeOffset
return void

SetAsync() public method

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