Blog.Core/Blog.Core.Common/Helper
LemonNoCry 50a936bdeb 增加IOption配置
原有AppSetting 手写字符串去读取,极容易出错,扩展性也低:如果要修改或者增加值 就要到处都写
保留AppSetting基础上增加IOption方便读取配置,可反序列对象

增加IConfigurableOptions接口
可参考SeqOptions配置
配置文件名为Option或Options结尾,匹配时会忽略Option或Options

SeqOptions->对应 AppSetting中Seq节点

可直接在控制器中注入使用 参考ValuesController
 private readonly SeqOptions _seqOptions;
cto(IOptions<SeqOptions> seqOptions){
    _seqOptions = seqOptions.Value;
}
2023-04-22 11:10:30 +08:00
..
Console 添加以表格方式输出控制台 2022-02-23 18:14:26 +08:00
SM Fixed #334 BUG 2023-02-25 14:02:29 +08:00
Appsettings.cs 增加IOption配置 2023-04-22 11:10:30 +08:00
Base32Helper.cs Create Base32Helper.cs 2020-06-08 17:18:24 +08:00
Base64Encoder.cs add base64 encode decode and sm4 2022-08-08 17:44:31 +08:00
CCBPayUtil.cs Update CCBPayUtil.cs 2022-02-16 18:46:22 +08:00
DateHelper.cs 新增一些helper RSAhelper Urlhelper 2021-01-22 11:25:05 +08:00
DynamicLinqFactory.cs 完善优化动态表达式 2023-02-13 19:23:16 +08:00
FileHelper.cs fixed #288 bug 2022-07-26 22:35:12 +08:00
GenericTypeExtensions.cs 完善优化动态表达式 2023-02-13 19:23:16 +08:00
HtmlHelper.cs remove all no need using 2020-06-04 22:58:53 +08:00
HttpHelper.cs fix: change http client 2022-02-10 14:31:52 +08:00
IpHelper.cs 田雨 2021-07-28 11:01:28 +08:00
JsonConfigUtils.cs fix: program.cs for 6.0 2022-04-04 20:00:17 +08:00
JsonHelper.cs 分支测试 2021-07-29 15:29:56 +08:00
LinqHelper.cs 添加动态linq查询 2021-10-08 15:32:43 +08:00
MD5Hepler.cs fix: some warning 2022-02-09 17:13:02 +08:00
NumberConverter.cs Sqlsugar 分表 CRUD demo 2023-03-30 15:38:17 +08:00
PingYinHelper.cs fix: GetNavigationBarPro 2022-04-07 19:39:18 +08:00
RecursionHelper.cs Merge branch 'master' into feat/serilog 2023-04-08 17:37:48 +08:00
RSAHelper.cs RSAHelper 完善 2021-02-06 10:52:26 +08:00
RSAHelperExtend.cs fix: some warning 2022-02-09 17:13:02 +08:00
SerializeHelper.cs remove all no need using 2020-06-04 22:58:53 +08:00
ShaHelper.cs 去除dal冗余代码,科学上网管理 2022-08-02 21:53:16 +08:00
StringHelper.cs Merge branch 'anjoy8:master' into master 2021-07-10 11:14:07 +08:00
UnicodeHelper.cs remove all no need using 2020-06-04 22:58:53 +08:00
UrlHelper.cs fix typo and remove not needed null check 2021-06-01 11:31:55 +08:00
UtilConvert.cs  增加种子数据接口、增加常用方法 2023-02-07 00:00:05 +08:00
WeChatHelper.cs fix: change http client 2022-02-10 14:31:52 +08:00
XmlHelper.cs 新增一些helper RSAhelper Urlhelper 2021-01-22 11:25:05 +08:00