Class PermissionGrantCacheItemInvalidator
Inheritance
System.Object
PermissionGrantCacheItemInvalidator
Implements
ITransientDependency
Assembly: Volo.Abp.PermissionManagement.Domain.dll
Syntax
public class PermissionGrantCacheItemInvalidator : ILocalEventHandler<EntityChangedEventData<PermissionGrant>>, ITransientDependency
Constructors
PermissionGrantCacheItemInvalidator(IDistributedCache<PermissionGrantCacheItem>, ICurrentTenant)
Declaration
public PermissionGrantCacheItemInvalidator(IDistributedCache<PermissionGrantCacheItem> cache, ICurrentTenant currentTenant)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<PermissionGrantCacheItem> Cache { get; }
Property Value
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type |
Description |
ICurrentTenant |
|
Methods
CalculateCacheKey(String, String, String)
Declaration
protected virtual string CalculateCacheKey(string name, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
Type |
Description |
System.String |
|
HandleEventAsync(EntityChangedEventData<PermissionGrant>)
Declaration
public virtual Task HandleEventAsync(EntityChangedEventData<PermissionGrant> eventData)
Parameters
Returns
Implements
ITransientDependency
Extension Methods