Interface ICacheFlusher
Namespace: SuperOffice.Data.Cache
Assembly: SoDataBase.dll
Syntax
public interface ICacheFlusher
Methods
Flush(IEnumerable<String>)
Flushes the caches
Declaration
void Flush(IEnumerable<string> cacheNames)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<String> | cacheNames | Caches to flush. Input can be technical name of the cache, or it can be the table name from the database and it'll do a lookup to find all the caches that's associated with that table and flush. |
Flush(String[])
Flushes the caches
Declaration
void Flush(params string[] cacheNames)
Parameters
Type | Name | Description |
---|---|---|
String[] | cacheNames | Caches to flush. Input can be technical name of the cache, or it can be the table name from the database and it'll do a lookup to find all the caches that's associated with that table and flush. |
GetAllCaches()
Declaration
IEnumerable<KeyValuePair<string, Action>> GetAllCaches()
Returns
Type | Description |
---|---|
IEnumerable<KeyValuePair<String, Action>> |
Extension Methods
EnumUtil.MapEnums<From, To>(From)