摘要:
https://github.com/xin9le/FastEnum 简单使用: enum Company { [EnumMember(Value = "Apple, Inc.")] Apple = 0, } var value = Company.Apple.GetEnumMemberValue( 阅读全文
posted @ 2023-06-02 17:54
vba是最好的语言
阅读(46)
评论(0)
推荐(0)
摘要:
{ "code": 200, //状态码 (int) "message": "string", //消息 (string) "data": {} //Action的原始响应内容 } https://github.com/stratosblue/cuture.aspnetcore.responseau 阅读全文
posted @ 2023-06-02 17:35
vba是最好的语言
阅读(72)
评论(0)
推荐(0)
摘要:
services.Configure<BookOptions>(Configuration.GetSection(BookOptions.Book)); builder.Services.AddOptions<Test>(builder.Configuration[""]); builder.Ser 阅读全文
posted @ 2023-06-02 17:10
vba是最好的语言
阅读(54)
评论(0)
推荐(0)
摘要:
namespace JWTWebApi.JWT; public class JwtOptions { /// <summary> /// 签发者 /// </summary> public string Issuer { get; set; } /// <summary> /// 接收者 /// < 阅读全文
posted @ 2023-06-02 17:04
vba是最好的语言
阅读(34)
评论(0)
推荐(0)
浙公网安备 33010602011771号