Class RequirePermissionsSimpleBatchStateChecker<TState>
Inheritance
RequirePermissionsSimpleBatchStateChecker<TState>
Assembly: Volo.Abp.Authorization.dll
Syntax
public class RequirePermissionsSimpleBatchStateChecker<TState> : SimpleBatchStateCheckerBase<TState>, ISimpleBatchStateChecker<TState>, ISimpleStateChecker<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Constructors
RequirePermissionsSimpleBatchStateChecker()
Declaration
public RequirePermissionsSimpleBatchStateChecker()
Properties
Current
Declaration
public static RequirePermissionsSimpleBatchStateChecker<TState> Current { get; }
Property Value
Methods
AddCheckModels(params RequirePermissionsSimpleBatchStateCheckerModel<TState>[])
Declaration
public RequirePermissionsSimpleBatchStateChecker<TState> AddCheckModels(params RequirePermissionsSimpleBatchStateCheckerModel<TState>[] models)
Parameters
Returns
IsEnabledAsync(SimpleBatchStateCheckerContext<TState>)
Declaration
public override Task<SimpleStateCheckerResult<TState>> IsEnabledAsync(SimpleBatchStateCheckerContext<TState> context)
Parameters
Returns
Overrides
Volo.Abp.SimpleStateChecking.SimpleBatchStateCheckerBase<TState>.IsEnabledAsync(Volo.Abp.SimpleStateChecking.SimpleBatchStateCheckerContext<TState>)
Use(RequirePermissionsSimpleBatchStateChecker<TState>)
Declaration
public static IDisposable Use(RequirePermissionsSimpleBatchStateChecker<TState> checker)
Parameters
Returns
Implements
Extension Methods