Class FlushCacheAndBroadcastPluginExtensions
Inherited Members
Namespace: SuperOfficeDataCache
Assembly: SoDataBase.dll
Syntax
public static class FlushCacheAndBroadcastPluginExtensions
Methods
FlushAndBroadcastAsync(IFlushCacheAndBroadcastPlugin, params string[])
Flushes the caches and broadcast
Declaration
public static Task FlushAndBroadcastAsync(this IFlushCacheAndBroadcastPlugin plugin, params string[] cacheNames)
Parameters
| Type | Name | Description |
|---|---|---|
| IFlushCacheAndBroadcastPlugin | plugin | |
| 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. |
Returns
| Type | Description |
|---|---|
| Task |
FlushAndBroadcastAsync(IFlushCacheAndBroadcastPlugin, CancellationToken, params string[])
Flushes the caches and broadcast
Declaration
public static Task FlushAndBroadcastAsync(this IFlushCacheAndBroadcastPlugin plugin, CancellationToken cancellationToken, params string[] cacheNames)
Parameters
| Type | Name | Description |
|---|---|---|
| IFlushCacheAndBroadcastPlugin | plugin | |
| CancellationToken | cancellationToken | |
| 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. |
Returns
| Type | Description |
|---|---|
| Task |