public static string GetCardName(this CardType type) { return(type.GetAttributeValue <ContentAttribute, string>(x => x.Name)); }