// 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
//
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
using Admin.NET.Core;
using AspNetCoreRateLimit;
using Furion;
using Microsoft.Extensions.DependencyInjection;
namespace Admin.NET.Web.Core;
public static class ProjectOptions
{
///
/// 注册项目配置选项
///
///
///
public static IServiceCollection AddProjectOptions(this IServiceCollection services)
{
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.AddConfigurableOptions();
services.Configure(App.Configuration.GetSection("IpRateLimiting"));
services.Configure(App.Configuration.GetSection("IpRateLimitPolicies"));
services.Configure(App.Configuration.GetSection("ClientRateLimiting"));
services.Configure(App.Configuration.GetSection("ClientRateLimitPolicies"));
return services;
}
}