using System.Collections.Generic; using NBF; namespace cfg { public partial class Goods { private List _awards; public List Awards { get { if (_awards == null) { _awards = new List(); foreach (var item in Items) { _awards.Add(new AwardData(item.ToString())); } } return _awards; } } } }