Show / Hide Table of Contents

Class RequirePermissionsSimpleBatchStateChecker<TState>

Inheritance
object
SimpleBatchStateCheckerBase<TState>
RequirePermissionsSimpleBatchStateChecker<TState>
Implements
ISimpleBatchStateChecker<TState>
ISimpleStateChecker<TState>
Inherited Members
SimpleBatchStateCheckerBase<TState>.IsEnabledAsync(SimpleStateCheckerContext<TState>)
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Authorization.Permissions
Assembly: Volo.Abp.Authorization.dll
Syntax
public class RequirePermissionsSimpleBatchStateChecker<TState> : SimpleBatchStateCheckerBase<TState>, ISimpleBatchStateChecker<TState>, ISimpleStateChecker<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Name Description
TState

Constructors

RequirePermissionsSimpleBatchStateChecker()

Declaration
public RequirePermissionsSimpleBatchStateChecker()

Properties

Current

Declaration
public static RequirePermissionsSimpleBatchStateChecker<TState> Current { get; }
Property Value
Type Description
RequirePermissionsSimpleBatchStateChecker<TState>

Methods

AddCheckModels(params RequirePermissionsSimpleBatchStateCheckerModel<TState>[])

Declaration
public RequirePermissionsSimpleBatchStateChecker<TState> AddCheckModels(params RequirePermissionsSimpleBatchStateCheckerModel<TState>[] models)
Parameters
Type Name Description
RequirePermissionsSimpleBatchStateCheckerModel<TState>[] models
Returns
Type Description
RequirePermissionsSimpleBatchStateChecker<TState>

IsEnabledAsync(SimpleBatchStateCheckerContext<TState>)

Declaration
public override Task<SimpleStateCheckerResult<TState>> IsEnabledAsync(SimpleBatchStateCheckerContext<TState> context)
Parameters
Type Name Description
SimpleBatchStateCheckerContext<TState> context
Returns
Type Description
Task<SimpleStateCheckerResult<TState>>
Overrides
Volo.Abp.SimpleStateChecking.SimpleBatchStateCheckerBase<TState>.IsEnabledAsync(Volo.Abp.SimpleStateChecking.SimpleBatchStateCheckerContext<TState>)

Use(RequirePermissionsSimpleBatchStateChecker<TState>)

Declaration
public static IDisposable Use(RequirePermissionsSimpleBatchStateChecker<TState> checker)
Parameters
Type Name Description
RequirePermissionsSimpleBatchStateChecker<TState> checker
Returns
Type Description
IDisposable

Implements

ISimpleBatchStateChecker<TState>
ISimpleStateChecker<TState>

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform