public List <T> GetCustomFieldValues <T>(string customFieldName) { List <T> ret = null; var find = _customFields.Where(x => x.Id == customFieldName || x.Name == customFieldName).FirstOrDefault(); if (find != null) { ret = new List <T>(); foreach (string s in find.Values) { ret.Add(JHelper.GetValue <T>(s)); } } return(ret); }
public T GetFromValue <T>() { return(JHelper.GetValue <T>(ToValue)); }