修复config<T> 配置文件List<T> 类型字段在读时出现的超出索引界限问题
郗云飞
编写于
2021-03-16 22:57:26
X
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NewLife.Configuration;
namespace Test
{
public class ConfigTest : Config<ConfigTest>
{
public List<String> Names { get; set; }
public String Sex { get; set; }
public List<XYF> xyf { get; set; }
}
public class XYF
{
public String name { get; set; }
//public List<String> gradu { get; set; }
}
}
|