标签:
var levelList = EnumEx.GetIntValues(CarConst.CustomCarType.Bus.GetType()); foreach (var level in levelList) { var en = (CarConst.CustomCarType)level; var leveldescript = ((en).GetAttribute<DescriptionAttribute>()).Description; <option value="@level">@leveldescript</option> }
标签:
原文地址:http://www.cnblogs.com/llxy/p/4187331.html