Class RequirePermissionsSimpleBatchStateChecker<TState>
Inheritance
object
SimpleBatchStateCheckerBase<TState>
RequirePermissionsSimpleBatchStateChecker<TState>
Inherited Members
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 |
---|---|
System.Threading.Tasks.Task<TResult><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 |
---|---|
System.IDisposable |