Show / Hide Table of Contents

Class FlushCacheAndBroadcastPluginExtensions

Inheritance
object
FlushCacheAndBroadcastPluginExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Data.Cache
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
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top