public static string GetDescription(this PropertyAttribute prop) { var description = EnumHelper.GetAttributeOfType <DescriptionAttribute>(prop); return(description?.Description ?? prop.ToString()); }