public static string GetPrevalues(this IContent content, IDataTypeService ds, string alias)
        {
            var ids  = content.GetValue <string>(alias).Split(',').ToList();
            var list = ids.Select(x => ds.GetPreValueAsString(int.Parse(x)));

            return(string.Join(",", list));
        }
Пример #2
0
 public static string GetPreValueByIntValue(IDataTypeService service, int value)
 {
     return(service.GetPreValueAsString(value));
 }