Go to my github
摘要: 13 | 配置绑定:使用强类型对象承载配置数据 要点: 1、支持将配置值绑定到已有对象 2、支持将配置值绑定到私有属性上 继续使用上一节代码 首先定义一个类作为接收配置的实例 class Config { public string Key1 { get; set; } public bool Ke 阅读全文
posted @ 2020-03-01 00:25 郑子铭 阅读(415) 评论(0) 推荐(0) 编辑