Class TenantConfigurationCacheItemInvalidator
Inheritance
TenantConfigurationCacheItemInvalidator
Assembly: Volo.Saas.Domain.dll
Syntax
[LocalEventHandlerOrder(-1)]
public class TenantConfigurationCacheItemInvalidator : ILocalEventHandler<EntityChangedEventData<Tenant>>, ILocalEventHandler<TenantChangedEvent>, IEventHandler, ITransientDependency
Constructors
TenantConfigurationCacheItemInvalidator(IDistributedCache<TenantConfigurationCacheItem>)
Declaration
public TenantConfigurationCacheItemInvalidator(IDistributedCache<TenantConfigurationCacheItem> cache)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<TenantConfigurationCacheItem> Cache { get; }
Property Value
Methods
ClearCacheAsync(Guid?, string)
Declaration
protected virtual Task ClearCacheAsync(Guid? id, string normalizedName)
Parameters
Type |
Name |
Description |
Guid? |
id |
|
string |
normalizedName |
|
Returns
HandleEventAsync(EntityChangedEventData<Tenant>)
Declaration
public virtual Task HandleEventAsync(EntityChangedEventData<Tenant> eventData)
Parameters
Returns
HandleEventAsync(TenantChangedEvent)
Declaration
public virtual Task HandleEventAsync(TenantChangedEvent eventData)
Parameters
Returns
Implements
Extension Methods