Show / Hide Table of Contents

Class PermissionGrantCacheItemInvalidator

Inheritance
System.Object
PermissionGrantCacheItemInvalidator
Implements
ITransientDependency
Namespace: Volo.Abp.PermissionManagement
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
Type Name Description
IDistributedCache<PermissionGrantCacheItem> cache
ICurrentTenant currentTenant

Properties

Cache

Declaration
protected IDistributedCache<PermissionGrantCacheItem> Cache { get; }
Property Value
Type Description
IDistributedCache<PermissionGrantCacheItem>

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
Type Name Description
EntityChangedEventData<PermissionGrant> eventData
Returns
Type Description
Task

Implements

ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft