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.
19 lines
561 B
19 lines
561 B
3 years ago
|
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;
|
||
|
}
|
||
|
}
|