Class CacheMessenger
Inheritance
CacheMessenger
Assembly: LemonEdge.Database.Connector.dll
Syntax
public class CacheMessenger : ICacheMessenger
Constructors
CacheMessenger(IMessageConsumer, IMessagePublisher, IFactoryInjector, IDomainContextEventHandler, IOptions<MessageSettings>, ILogger<CacheMessenger>)
Declaration
public CacheMessenger(IMessageConsumer messageConsumer, IMessagePublisher messagePublisher, IFactoryInjector factoryInjector, IDomainContextEventHandler domainContextEventHandler, IOptions<MessageSettings> settings, ILogger<CacheMessenger> logger)
Parameters
Properties
Instance
Declaration
public static ICacheMessenger Instance { get; set; }
Property Value
Methods
ClearCache(long)
Declaration
public Task ClearCache(long accountID)
Parameters
Type |
Name |
Description |
long |
accountID |
|
Returns
ClearCachedTypes(long, string)
Declaration
public Task ClearCachedTypes(long accountID, string type)
Parameters
Returns
ClearCachedUsers()
Declaration
public Task ClearCachedUsers()
Returns
Register()
Declaration
RegisterAddInRestartHandler(Func<Task>)
Declaration
public void RegisterAddInRestartHandler(Func<Task> handler)
Parameters
Type |
Name |
Description |
Func<Task> |
handler |
|
RegisterWebServiceRestartHandler(Func<Task>)
Declaration
public void RegisterWebServiceRestartHandler(Func<Task> handler)
Parameters
Type |
Name |
Description |
Func<Task> |
handler |
|
RestartAddIns()
Declaration
public Task RestartAddIns()
Returns
RestartWebService()
Declaration
public Task RestartWebService()
Returns
Implements
Extension Methods