C# Class Flatwhite.Provider.DefaultCacheStoreProvider

The default implementation of ICacheStoreProvider using private dictionaries
Inheritance: ICacheStoreProvider, IDisposable
Afficher le fichier Open project: vanthoainguyen/Flatwhite Class Usage Examples

Méthodes publiques

Méthode Description
DefaultCacheStoreProvider ( ) : System

Initializes a DefaultCacheStoreProvider with default ICacheStore and IAsyncCacheStore

Dispose ( ) : void

Clear all the dictionary

GetAsyncCacheStore ( Type asyncCacheStoreType ) : IAsyncCacheStore

Get the IAsyncCacheStore

GetAsyncCacheStore ( int storeId ) : IAsyncCacheStore

Get the IAsyncCacheStore by storeId, if couldn't find it it will try to get the ICacheStore with the same id

GetCacheStore ( Type cacheStoreType ) : ICacheStore

Get the ICacheStore

GetCacheStore ( int storeId ) : ICacheStore

Get the ICacheStore

RegisterAsyncStore ( IAsyncCacheStore store ) : void

Register the IAsyncCacheStore

RegisterStore ( ICacheStore store ) : void

Register the ICacheStore

Method Details

DefaultCacheStoreProvider() public méthode

Initializes a DefaultCacheStoreProvider with default ICacheStore and IAsyncCacheStore
public DefaultCacheStoreProvider ( ) : System
Résultat System

Dispose() public méthode

Clear all the dictionary
public Dispose ( ) : void
Résultat void

GetAsyncCacheStore() public méthode

Get the IAsyncCacheStore
public GetAsyncCacheStore ( Type asyncCacheStoreType ) : IAsyncCacheStore
asyncCacheStoreType System.Type
Résultat IAsyncCacheStore

GetAsyncCacheStore() public méthode

Get the IAsyncCacheStore by storeId, if couldn't find it it will try to get the ICacheStore with the same id
public GetAsyncCacheStore ( int storeId ) : IAsyncCacheStore
storeId int
Résultat IAsyncCacheStore

GetCacheStore() public méthode

Get the ICacheStore
public GetCacheStore ( Type cacheStoreType ) : ICacheStore
cacheStoreType System.Type
Résultat ICacheStore

GetCacheStore() public méthode

Get the ICacheStore
public GetCacheStore ( int storeId ) : ICacheStore
storeId int
Résultat ICacheStore

RegisterAsyncStore() public méthode

Register the IAsyncCacheStore
public RegisterAsyncStore ( IAsyncCacheStore store ) : void
store IAsyncCacheStore
Résultat void

RegisterStore() public méthode

Register the ICacheStore
public RegisterStore ( ICacheStore store ) : void
store ICacheStore
Résultat void