public object ConvertFromString(string text, ReadSettings settings) { try { IsSuccess = true; if (!fContainsFlag) { return(Enum.Parse(fEnumType, text, true)); } else { text = text.Replace(' ', ','); return(Enum.Parse(fEnumType, text, true)); } } catch { IsSuccess = false; return(ObjectUtil.GetFirstEnumValue(fEnumType)); } }