public static string GetNullDisplayTextAttribute(this MemberInfo info)
{
var displayFormat = info.GetCustomAttributes(true).OfType<DisplayFormatAttribute>().FirstOrDefault();
if (displayFormat == null) return string.Empty;
return displayFormat.NullDisplayText;
}