private static string GetTextFromCustomMeta(CustomMeta meta, string fieldname) { if (meta.NameValues.Contains(fieldname)) { return meta.GetValue(fieldname).ToString(); } return null; }
private static DateTime?GetDateFromCustomMeta(CustomMeta meta, string fieldname) { if (meta.NameValues.Contains(fieldname)) { return(meta.GetValue(fieldname) as DateTime?); } return(null); }
private static string GetTextFromCustomMeta(CustomMeta meta, string fieldname) { if (meta.NameValues.Contains(fieldname)) { return(meta.GetValue(fieldname).ToString()); } return(null); }
private static string GetTextFromCustomMeta(CustomMeta meta, string fieldname) { if (meta.NameValues.Contains(fieldname)) { object value = meta.GetValue(fieldname); return (value == null) ? null : value.ToString(); } return null; }
private static string GetTextFromCustomMeta(CustomMeta meta, string fieldname) { if (meta.NameValues.Contains(fieldname)) { object value = meta.GetValue(fieldname); return((value == null) ? null : value.ToString()); } return(null); }
private static DateTime? GetDateFromCustomMeta(CustomMeta meta, string fieldname) { if (meta.NameValues.Contains(fieldname)) { return meta.GetValue(fieldname) as DateTime?; } return null; }