You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
561 B
18 lines
561 B
using System.Threading; |
|
using System.Threading.Tasks; |
|
using Volo.Abp.DependencyInjection; |
|
|
|
namespace Sanhe.Abp.Features.LimitValidation; |
|
|
|
public class NullRequiresLimitFeatureChecker : IRequiresLimitFeatureChecker, ISingletonDependency |
|
{ |
|
public Task<bool> CheckAsync(RequiresLimitFeatureContext context, CancellationToken cancellation = default) |
|
{ |
|
return Task.FromResult(true); |
|
} |
|
|
|
public Task ProcessAsync(RequiresLimitFeatureContext context, CancellationToken cancellation = default) |
|
{ |
|
return Task.CompletedTask; |
|
} |
|
}
|
|
|