第13课:配置绑定:使用强类型对象承载配置数据
学习分享 丨作者 / 郑 子 铭 丨公众号 / DotNet NB / CloudNative NB
class Config
{
public string Key1 { get; set; }
public bool Key5 { get; set; }
public int Key6 { get; set; }
}{
"Key1": "Value1",
"Key2": "Value2",
"Key5": true,
"Key6": 0
}Last updated