public static string GetDescription(this AbilityId prop) { DisplayAttribute description = prop.GetAttributeOfType <DisplayAttribute>(); return(description?.Description ?? prop.ToString()); }