Class SimpleStateCheckerManager<TState>
Inheritance
object
SimpleStateCheckerManager<TState>
Implements
ISimpleStateCheckerManager<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.SimpleStateChecking
Assembly: Volo.Abp.Core.dll
Syntax
public class SimpleStateCheckerManager<TState> : ISimpleStateCheckerManager<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Name | Description |
---|---|
TState |
Constructors
SimpleStateCheckerManager(IServiceProvider, IOptions<AbpSimpleStateCheckerOptions<TState>>)
Declaration
public SimpleStateCheckerManager(IServiceProvider serviceProvider, IOptions<AbpSimpleStateCheckerOptions<TState>> options)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider | |
Microsoft.Extensions.Options.IOptions<TOptions><AbpSimpleStateCheckerOptions<TState>> | options |
Properties
Options
Declaration
protected AbpSimpleStateCheckerOptions<TState> Options { get; }
Property Value
Type | Description |
---|---|
AbpSimpleStateCheckerOptions<TState> |
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
Type | Description |
---|---|
System.IServiceProvider |
Methods
InternalIsEnabledAsync(TState, bool)
Declaration
protected virtual Task<bool> InternalIsEnabledAsync(TState state, bool useBatchChecker)
Parameters
Type | Name | Description |
---|---|---|
TState | state | |
bool | useBatchChecker |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><bool> |
IsEnabledAsync(TState)
Declaration
public virtual Task<bool> IsEnabledAsync(TState state)
Parameters
Type | Name | Description |
---|---|---|
TState | state |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><bool> |
IsEnabledAsync(TState[])
Declaration
public virtual Task<SimpleStateCheckerResult<TState>> IsEnabledAsync(TState[] states)
Parameters
Type | Name | Description |
---|---|---|
TState[] | states |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><SimpleStateCheckerResult<TState>> |