Class CacheFlusher
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class CacheFlusher : ICacheFlusher
Constructors
CacheFlusher(ILogger<CacheFlusher>, IServiceProvider)
Declaration
public CacheFlusher(ILogger<CacheFlusher> logger, IServiceProvider serviceProvider)
Parameters
Methods
Flush(IEnumerable<string>)
Declaration
public void Flush(IEnumerable<string> cacheNamesAsEnum)
Parameters
Flush(params string[])
Declaration
public 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
public IEnumerable<KeyValuePair<string, Action>> GetAllCaches()
Returns
Implements
Extension Methods